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

149 lines
4.2 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#c44569",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"properties": {
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"windows": "\ue62a"
},
"style": "diamond",
"type": "os"
},
{
"background": "#c44569",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "full",
"template": "{{ .Path }} "
},
"style": "powerline",
"type": "path"
},
{
"background": "#f78fb3",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "powerline",
"type": "node"
},
{
"background": "#f78fb3",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_version": false,
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} "
},
"style": "powerline",
"type": "python"
},
{
"background": "#caffbf",
"background_templates": [
"{{ 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 }}"
],
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_status": true,
"fetch_upstream_icon": true,
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} "
},
"style": "powerline",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#83769c",
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"always_enabled": true,
"template": " {{ .FormattedMs }} "
},
"style": "powerline",
"type": "executiontime"
},
{
"background": "#86BBD8",
"foreground": "#FFD700",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"template": " \u26a1"
},
"style": "powerline",
"type": "root"
},
{
"background": "#86BBD8",
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"template": " {{ .UserName }} "
},
"style": "powerline",
"type": "session"
},
{
"background": "#33658A",
"foreground": "#ffffff",
"invert_powerline": true,
"properties": {
"template": " {{ .Name }} "
},
"style": "diamond",
"trailing_diamond": "\ue0b4",
"type": "shell"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"properties": {
"template": " \uf0e7 "
},
"style": "plain",
"type": "root"
},
{
"foreground": "#ffffff",
"properties": {
"template": "<#69FF94>\u276f</>"
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
}
],
"console_title": true,
"final_space": true,
"version": 1
}