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

66 lines
1.9 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#E0E0E0",
2022-02-03 01:22:57 -08:00
"foreground": "#BF231D",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7 ",
2022-02-03 01:22:57 -08:00
"type": "root"
},
{
"background": "#E0E0E0",
"foreground": "#EF7D00",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ .Icon }} ",
2022-02-03 01:22:57 -08:00
"type": "os"
},
{
"background": "#E0E0E0",
"foreground": "#424242",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "{{ .UserName }}",
2022-02-03 01:22:57 -08:00
"type": "session"
},
{
"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": {
"branch_max_length": 30,
2022-02-03 01:22:57 -08:00
"fetch_status": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07: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 }}] ",
2022-02-03 01:22:57 -08:00
"type": "git"
},
{
"background": "#E0E0E0",
"foreground": "#424242",
"properties": {
2022-03-27 01:12:47 -07:00
"style": "full"
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ .Path }}",
2022-02-03 01:22:57 -08:00
"type": "path"
},
{
"foreground": "#E0E0E0",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\ue0b0 ",
2022-02-03 01:22:57 -08:00
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
2022-02-03 01:22:57 -08:00
],
2022-03-27 01:12:47 -07:00
"version": 2
}