oh-my-posh/themes/microverse-power.omp.json

106 lines
2.7 KiB
JSON
Raw Normal View History

2021-03-26 12:12:02 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "plain",
"foreground": "#3A86FF",
"properties": {
"prefix": ""
}
2021-03-26 12:12:02 -07:00
},
{
"type": "session",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#f1184c",
"background": "#242424",
"properties": {
2021-12-03 14:44:58 -08:00
"postfix": "",
"template": "{{ .UserName }}"
2021-03-26 12:12:02 -07:00
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#f1184c",
"background": "#242424",
"properties": {
"prefix": "- root ",
"postfix": ""
}
},
{
"type": "time",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#FFBB00",
"background": "#242424",
"properties": {
"time_format": "2006-01-02 15:04:05",
"prefix": ""
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#33DD2D",
"background": "#242424",
"properties": {
"prefix": "\uE5FF ",
"style": "full",
"folder_separator_icon": "/"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#3A86FF",
"background": "#242424",
"properties": {
"fetch_stash_count": true,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
"prefix": "",
2021-11-09 08:13:47 -08:00
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}"
2021-03-26 12:12:02 -07:00
}
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#242424",
"background": "#33DD2D",
2021-11-14 04:39:00 -08:00
"background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"],
2021-03-26 12:12:02 -07:00
"properties": {
"always_enabled": true,
2021-11-14 04:39:00 -08:00
"template": "\ufc8d"
2021-03-26 12:12:02 -07:00
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
2021-03-26 12:12:02 -07:00
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#f1184c",
"properties": {
"prefix": "",
"text": "\u279C"
}
}
]
}
]
2021-03-26 12:12:02 -07:00
}