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

74 lines
2.1 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#E0E0E0",
"foreground": "#BF231D",
"properties": {
"template": " \uf0e7 "
},
"style": "plain",
"type": "root"
},
{
"background": "#E0E0E0",
"foreground": "#EF7D00",
"properties": {
"template": " {{ .Icon }} "
},
"style": "plain",
"type": "os"
},
{
"background": "#E0E0E0",
"foreground": "#424242",
"properties": {
"template": "{{ .UserName }}"
},
"style": "plain",
"type": "session"
},
{
"background": "#E0E0E0",
"foreground": "#424242",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#053F22{{ end }}",
"{{ if or (gt .Ahead 0) (gt .Behind 0) }}#0A703E{{ end }}"
],
"properties": {
"branch_max_length": 30,
"fetch_status": true,
"fetch_upstream_icon": true,
"template": " [{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#BD6200> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#053F22> \uf046 {{ .Staging.String }}</>{{ end }}] "
},
"style": "plain",
"type": "git"
},
{
"background": "#E0E0E0",
"foreground": "#424242",
"properties": {
"style": "full",
"template": " {{ .Path }}"
},
"style": "plain",
"type": "path"
},
{
"foreground": "#E0E0E0",
"properties": {
"template": "\ue0b0 "
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 1
}