From 7aafc96e7db46325db5db72c2cf3b795b2272d65 Mon Sep 17 00:00:00 2001 From: Timothy Huber Date: Thu, 24 Feb 2022 01:12:42 -0500 Subject: [PATCH] feat(theme): add tiwahu theme Simple theme, yet unlike others. --- themes/tiwahu.omp.json | 90 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 themes/tiwahu.omp.json diff --git a/themes/tiwahu.omp.json b/themes/tiwahu.omp.json new file mode 100644 index 00000000..440eaf66 --- /dev/null +++ b/themes/tiwahu.omp.json @@ -0,0 +1,90 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "#880000", + "foreground": "#ff8888", + "properties": { + "template": " {{ if gt .Code 0 }}\uf00d {{ .Code }}{{ else }}\uf42e{{ end }} " + }, + "style": "plain", + "type": "exit" + }, + { + "background": "#ffcc88", + "foreground": "#222222", + "properties": { + "template": "\uf0e7" + }, + "style": "plain", + "type": "root" + }, + { + "background": "#222222", + "foreground": "#666666", + "powerline_symbol": "\ue0b8", + "properties": { + "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} " + }, + "style": "plain", + "type": "session" + }, + { + "background": "#444444", + "foreground": "#cccccc", + "powerline_symbol": "\ue0b8", + "properties": { + "folder_icon": "\u2026", + "style": "mixed", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" + }, + { + "background": "#f14e32", + "foreground": "#f0efe7", + "powerline_symbol": "\ue0b8", + "properties": { + "branch_icon": "\ue725 ", + "fetch_status": true, + "fetch_upstream_icon": false, + "template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} " + }, + "style": "plain", + "type": "git" + }, + { + "background": "#7014eb", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b8", + "properties": { + "template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " + }, + "style": "plain", + "type": "dotnet" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#007ACC", + "properties": { + "template": "\u276f " + }, + "style": "plain", + "type": "text" + } + ], + "type": "prompt" + } + ], + "version": 1 +}