2019-03-13 04:14:30 -07:00
|
|
|
{
|
2021-02-15 23:36:37 -08:00
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
2019-03-13 04:14:30 -07:00
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#546E7A",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#26C6DA",
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "os"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
2022-02-03 01:22:57 -08:00
|
|
|
"background": "#546E7A",
|
2019-03-13 04:14:30 -07:00
|
|
|
"foreground": "#26C6DA",
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf0e7 ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "root"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#546E7A",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#26C6DA",
|
2019-03-13 04:14:30 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "full"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "path"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#546E7A",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#D4E157",
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "<#26C6DA>\ue0b1 </>{{ .HEAD }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "git"
|
2020-10-02 12:58:49 -07:00
|
|
|
},
|
|
|
|
{
|
2020-10-05 11:43:08 -07:00
|
|
|
"background": "transparent",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#546E7A",
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue0b0",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "text"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "right",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#546E7A",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#D4E157",
|
|
|
|
"leading_diamond": "\ue0b2",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .UserName }}@{{ .HostName }} <#26C6DA>\ue0b3</> ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "session"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#546E7A",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#D4E157",
|
2019-03-13 04:14:30 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"time_format": "15:04:05"
|
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .CurrentDate | date .Format }} \uf017 ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "time"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2019-03-13 04:14:30 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
2021-04-18 10:16:06 -07:00
|
|
|
"newline": true,
|
2019-03-13 04:14:30 -07:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#D4E157",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground_templates": [
|
|
|
|
"{{ if gt .Code 0 }}#FF5252{{ end }}"
|
|
|
|
],
|
2019-03-13 04:14:30 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"always_enabled": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\u276f ",
|
2023-07-23 00:29:54 -07:00
|
|
|
"type": "status"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
2024-10-28 05:59:40 -07:00
|
|
|
"version": 3
|
2019-03-13 04:14:30 -07:00
|
|
|
}
|