feat: updates rudolfs-xx templates with a python section

adds python block

Update rudolfs-light.omp.json

adds python block
This commit is contained in:
Thomas Dörr 2023-01-14 14:09:11 +01:00 committed by Jan De Dobbeleer
parent f502d1c108
commit 52bbcb651f
2 changed files with 22 additions and 0 deletions

View file

@ -51,6 +51,17 @@
"template": "[ {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ]",
"type": "git"
},
{
"background": "#256C9D",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "plain",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"properties": {
"text": "\ue0b0"
},
"type": "python"
},
{
"foreground": "#256C9D",
"style": "plain",

View file

@ -51,6 +51,17 @@
"template": " {{ .Path }}",
"type": "path"
},
{
"background": "#E0E0E0",
"foreground": "#424242",
"powerline_symbol": "\ue0b0",
"style": "plain",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"properties": {
"text": "\ue0b0"
},
"type": "python"
},
{
"foreground": "#E0E0E0",
"style": "plain",