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

106 lines
2.5 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "#000000",
"background": "#ffffff",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B4"
},
{
"type": "root",
"style": "powerline",
"foreground": "#000000",
"background": "#0000ff",
"powerline_symbol": "\uE0B4",
"properties": {
"style": "full"
}
},
{
"type": "path",
"style": "powerline",
"foreground": "#ffffff",
"background": "#0000ff",
"powerline_symbol": "\uE0B4",
"properties": {
2021-12-04 02:56:55 -08:00
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"foreground": "#000000",
"background": "#D4E157",
"powerline_symbol": "\uE0B4",
"properties": {
2021-11-09 08:13:47 -08:00
"template": "{{ .HEAD }}"
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "python",
"style": "diamond",
"foreground": "#000000",
"background": "#D4E157",
"leading_diamond": "\uE0B6",
"properties": {
"postfix": " <#000000>\uE0B6</>"
}
},
{
"type": "go",
"style": "diamond",
"foreground": "#ffffff",
"background": "#7FD5EA",
"leading_diamond": "\uE0B6",
"display_version": true,
"properties": {
"postfix": " <#000000>\uE0B6</>"
}
},
{
"type": "time",
"style": "diamond",
"foreground": "#000000",
"background": "#ffffff",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B4",
"properties": {
"time_format": "15:04:05"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#D4E157",
2021-11-14 04:39:00 -08:00
"foreground_templates": ["{{ if gt .Code 0 }}#FF5252{{ end }}"],
"properties": {
2021-11-14 04:39:00 -08:00
"template": "\u276F",
"prefix": "",
"always_enabled": true
}
}
]
}
]
}