From 52bbcb651f3e02d9f8d4b40b807626fbe79eaf82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=B6rr?= Date: Sat, 14 Jan 2023 14:09:11 +0100 Subject: [PATCH] feat: updates rudolfs-xx templates with a python section adds python block Update rudolfs-light.omp.json adds python block --- themes/rudolfs-dark.omp.json | 11 +++++++++++ themes/rudolfs-light.omp.json | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/themes/rudolfs-dark.omp.json b/themes/rudolfs-dark.omp.json index 74b48242..dca0d9a5 100644 --- a/themes/rudolfs-dark.omp.json +++ b/themes/rudolfs-dark.omp.json @@ -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", diff --git a/themes/rudolfs-light.omp.json b/themes/rudolfs-light.omp.json index bf351891..91d5cab7 100644 --- a/themes/rudolfs-light.omp.json +++ b/themes/rudolfs-light.omp.json @@ -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",