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

136 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",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#c44569",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
2021-10-16 23:55:08 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"windows": "\ue62a"
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
2022-02-03 01:22:57 -08:00
"type": "os"
2021-10-16 23:55:08 -07:00
},
{
"background": "#c44569",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
2021-10-16 23:55:08 -07:00
"properties": {
2022-03-27 01:12:47 -07:00
"style": "full"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "{{ .Path }} ",
2022-02-03 01:22:57 -08:00
"type": "path"
2021-10-16 23:55:08 -07:00
},
{
"background": "#f78fb3",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
2022-02-03 01:22:57 -08:00
"type": "node"
2021-10-16 23:55:08 -07:00
},
{
"background": "#f78fb3",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
2021-10-16 23:55:08 -07:00
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_version": false
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "python"
2021-10-16 23:55:08 -07:00
},
{
"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 }}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
2021-10-16 23:55:08 -07:00
"properties": {
"fetch_status": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07: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 }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
2021-10-16 23:55:08 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-10-16 23:55:08 -07:00
},
{
"alignment": "right",
"segments": [
{
"background": "#83769c",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
2021-10-16 23:55:08 -07:00
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }} ",
2022-02-03 01:22:57 -08:00
"type": "executiontime"
2021-10-16 23:55:08 -07:00
},
{
"background": "#86BBD8",
2022-02-03 01:22:57 -08:00
"foreground": "#FFD700",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \u26a1",
2022-02-03 01:22:57 -08:00
"type": "root"
2021-10-16 23:55:08 -07:00
},
{
"background": "#86BBD8",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .UserName }} ",
2022-02-03 01:22:57 -08:00
"type": "session"
2021-10-16 23:55:08 -07:00
},
{
2022-02-03 01:22:57 -08:00
"background": "#33658A",
2021-10-16 23:55:08 -07:00
"foreground": "#ffffff",
2022-02-03 01:22:57 -08:00
"invert_powerline": true,
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .Name }} ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b4",
"type": "shell"
2021-10-16 23:55:08 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-10-16 23:55:08 -07:00
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7 ",
2022-02-03 01:22:57 -08:00
"type": "root"
2021-10-16 23:55:08 -07:00
},
{
"foreground": "#ffffff",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "<#69FF94>\u276f</>",
2022-02-03 01:22:57 -08:00
"type": "text"
2021-10-16 23:55:08 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-10-16 23:55:08 -07:00
}
2022-02-03 01:22:57 -08:00
],
"final_space": true,
2024-10-28 05:59:40 -07:00
"version": 3
2021-10-16 23:55:08 -07:00
}