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

109 lines
2.8 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "#ffffff",
"background": "#3A86FF",
"leading_diamond": "\uE0B6"
},
{
"type": "session",
"style": "powerline",
"foreground": "#ffffff",
2021-12-03 14:44:58 -08:00
"background": "#3A86FF",
"properties": {
"template": "{{ .UserName }}@{{ .HostName }}"
2021-12-03 14:44:58 -08:00
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#ff479c",
"properties": {
"prefix": " \uE5FF ",
"style": "full"
}
},
{
"type": "time",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#193549",
"background": "#4caf50",
"properties": {
2021-12-04 02:56:55 -08:00
"time_format": "2006-01-02 15:04:05"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#193549",
"background": "#fffb38",
"properties": {
"fetch_stash_count": true,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
2021-11-09 08:13:47 -08:00
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
}
},
{
"type": "node",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#6CA35E",
"properties": {
"prefix": " \uE718 "
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#193549",
"background": "#ffff66"
},
{
"type": "exit",
"style": "diamond",
"foreground": "#ffffff",
"background": "#2e9599",
2021-11-14 04:39:00 -08:00
"background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"],
"leading_diamond": "<transparent,background>\uE0B0</>",
"trailing_diamond": "\uE0B4",
"properties": {
2021-11-14 04:39:00 -08:00
"template": "\uF7d4",
"always_enabled": true
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#f1184c",
"properties": {
"prefix": "",
"text": "\uF7C6"
}
}
]
}
],
"final_space": true
}