oh-my-posh/themes/rudolfs-light.omp.json

75 lines
2.1 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "plain",
"background": "#E0E0E0",
"foreground": "#BF231D"
},
{
"type": "os",
"style": "plain",
"background": "#E0E0E0",
"foreground": "#EF7D00",
"properties": {
2022-01-22 10:46:56 -08:00
"template": "{{ .Icon }}"
}
},
{
"type": "session",
"style": "plain",
"background": "#E0E0E0",
"foreground": "#424242",
"properties": {
"prefix": "",
2021-12-03 14:44:58 -08:00
"postfix": "",
"template": "{{ .UserName }}"
}
},
{
"type": "git",
"style": "plain",
"background": "#E0E0E0",
"foreground": "#424242",
"foreground_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#053F22{{ end }}",
"{{ if or (gt .Ahead 0) (gt .Behind 0) }}#0A703E{{ end }}"
],
"properties": {
"fetch_status": true,
"branch_max_length": 30,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
"prefix": " [",
"postfix": "] ",
2021-11-09 08:13:47 -08:00
"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 }}"
}
},
{
"type": "path",
"style": "plain",
"background": "#E0E0E0",
"foreground": "#424242",
"properties": {
"style": "full",
"postfix": ""
}
},
{
"type": "text",
"style": "plain",
"foreground": "#E0E0E0",
"properties": {
"prefix": "",
"text": "\uE0B0"
}
}
]
}
]
}