oh-my-posh/themes/powerlevel10k_modern.omp.json

105 lines
2.8 KiB
JSON
Raw Normal View History

{
2022-02-03 01:22:57 -08:00
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"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"
},
{
"background": "#0000ff",
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"powerline_symbol": "\ue0b4",
"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"
},
{
"background": "#0000ff",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b4",
"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"
},
{
"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"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"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"
},
{
"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"
},
{
"background": "#ffffff",
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"leading_diamond": "\ue0b6",
"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"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#D4E157",
2022-02-03 01:22:57 -08:00
"foreground_templates": [
"{{ if gt .Code 0 }}#FF5252{{ end }}"
],
"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 ",
"type": "status"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
2022-02-03 01:22:57 -08:00
],
2024-10-28 05:59:40 -07:00
"version": 3
}