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

147 lines
3.9 KiB
JSON
Raw Normal View History

2021-10-16 23:55:08 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"console_title": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "#ffffff",
"background": "#c44569",
"leading_diamond": "\uE0B6",
"trailing_diamond": "",
"properties": {
"prefix": "",
"windows": "\uE62A",
"postfix": ""
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#c44569",
"properties": {
"prefix": "",
"style": "full"
}
},
{
"type": "node",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#f78fb3",
"properties": {
"prefix": " \uE718 "
}
},
{
"type": "python",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#f78fb3",
"properties": {
"prefix": " \uE235 ",
2022-01-22 10:46:56 -08:00
"fetch_version": false
2021-10-16 23:55:08 -07:00
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
2021-10-16 23:55:08 -07:00
"foreground": "#ffffff",
"background": "#caffbf",
"background_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FCA17D{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}",
"{{ if gt .Behind 0 }}#f17c37{{ end }}"
],
2021-10-16 23:55:08 -07:00
"properties": {
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
"fetch_status": true,
2021-11-09 08:13:47 -08:00
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}"
2021-10-16 23:55:08 -07:00
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "executiontime",
"style": "powerline",
"powerline_symbol": "\uE0B2",
"invert_powerline": true,
"foreground": "#ffffff",
"background": "#83769c",
"properties": {
2021-12-04 02:56:55 -08:00
"always_enabled": true
2021-10-16 23:55:08 -07:00
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B2",
"invert_powerline": true,
"foreground": "#FFD700",
"background": "#86BBD8",
"properties": {
"postfix": "",
2022-01-22 10:46:56 -08:00
"template": "⚡"
2021-10-16 23:55:08 -07:00
}
},
{
"type": "session",
"style": "powerline",
"powerline_symbol": "\uE0B2",
"invert_powerline": true,
"foreground": "#ffffff",
"background": "#86BBD8",
"properties": {
2021-12-03 14:44:58 -08:00
"template": "{{ .UserName }}"
2021-10-16 23:55:08 -07:00
}
},
{
"type": "shell",
"style": "diamond",
"trailing_diamond": "\uE0B4",
"invert_powerline": true,
"foreground": "#ffffff",
2021-12-04 02:56:55 -08:00
"background": "#33658A"
2021-10-16 23:55:08 -07:00
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "root",
"style": "plain",
"properties": {}
},
{
"type": "text",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "",
"postfix": "",
"text": "<#69FF94>\u276F</>"
}
}
]
}
]
}