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

113 lines
2.9 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",
"properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
},
"style": "diamond",
"trailing_diamond": "\ue0b4",
"type": "os"
},
{
"background": "#0000ff",
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"powerline_symbol": "\ue0b4",
"properties": {
2022-02-03 01:22:57 -08:00
"style": "full",
"template": " \uf0e7 "
},
"style": "powerline",
"type": "root"
},
{
"background": "#0000ff",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b4",
"properties": {
2022-02-03 01:22:57 -08:00
"style": "full",
"template": " {{ .Path }} "
},
"style": "powerline",
"type": "path"
},
{
"background": "#D4E157",
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"powerline_symbol": "\ue0b4",
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ .HEAD }} "
},
"style": "powerline",
"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",
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} <transparent>\ue0b6</>"
},
"style": "diamond",
"type": "python"
},
{
"background": "#7FD5EA",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} <transparent>\ue0b6</>"
},
"style": "diamond",
"type": "go"
},
{
"background": "#ffffff",
2022-02-03 01:22:57 -08:00
"foreground": "#000000",
"leading_diamond": "\ue0b6",
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04:05"
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
"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-02-03 01:22:57 -08:00
"always_enabled": true,
"template": "\u276f "
},
"style": "plain",
"type": "exit"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
2022-02-03 01:22:57 -08:00
],
"version": 1
}