oh-my-posh/themes/powerlevel10k_modern.omp.json
2022-02-03 10:44:18 +01:00

106 lines
2.5 KiB
JSON

{
"$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": {
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"foreground": "#000000",
"background": "#D4E157",
"powerline_symbol": "\uE0B4",
"properties": {
"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",
"fetch_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",
"foreground_templates": ["{{ if gt .Code 0 }}#FF5252{{ end }}"],
"properties": {
"template": "\u276F",
"prefix": "",
"always_enabled": true
}
}
]
}
]
}