2021-04-19 03:53:39 -07:00
|
|
|
{
|
2022-02-03 01:22:57 -08:00
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
2021-04-19 03:53:39 -07:00
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "os"
|
2021-04-19 03:53:39 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#0000ff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"powerline_symbol": "\ue0b4",
|
2021-04-19 03:53:39 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "full"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " \uf0e7 ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "root"
|
2021-04-19 03:53:39 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#0000ff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"powerline_symbol": "\ue0b4",
|
2021-04-19 03:53:39 -07:00
|
|
|
"properties": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "full"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "path"
|
2021-04-19 03:53:39 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#D4E157",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"powerline_symbol": "\ue0b4",
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .HEAD }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "git"
|
2021-04-19 03:53:39 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-19 03:53:39 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "right",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"background": "#D4E157",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} <transparent>\ue0b6</>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "python"
|
2021-04-19 03:53:39 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#7FD5EA",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#ffffff",
|
|
|
|
"leading_diamond": "\ue0b6",
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} <transparent>\ue0b6</>",
|
2022-02-03 01:22:57 -08:00
|
|
|
"type": "go"
|
2021-04-19 03:53:39 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#ffffff",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#000000",
|
|
|
|
"leading_diamond": "\ue0b6",
|
2021-04-19 03:53:39 -07:00
|
|
|
"properties": {
|
|
|
|
"time_format": "15:04:05"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "diamond",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .CurrentDate | date .Format }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"trailing_diamond": "\ue0b4",
|
|
|
|
"type": "time"
|
2021-04-19 03:53:39 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-19 03:53:39 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
2021-04-18 10:16:06 -07:00
|
|
|
"newline": true,
|
2021-04-19 03:53:39 -07:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#D4E157",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground_templates": [
|
|
|
|
"{{ if gt .Code 0 }}#FF5252{{ end }}"
|
|
|
|
],
|
2021-04-19 03:53:39 -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"
|
2021-04-19 03:53:39 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-04-19 03:53:39 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2021-04-18 10:16:06 -07:00
|
|
|
}
|