Last active
June 20, 2022 11:08
-
-
Save Illutax/cd939134bb92ce071b4a5493f812a926 to your computer and use it in GitHub Desktop.
ohmzposhv3_v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"source": "https://gist.github.com/shanselman/1f69b28bfcc4f7716e49eb5bb34d7b2c", | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#ff479c", | |
"foreground": "#ffffff", | |
"leading_diamond": "\ue0b6", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"style": "folder", | |
"template": " \ue5ff {{ .Path }} " | |
}, | |
"style": "diamond", | |
"trailing_diamond": "\ue0b0", | |
"type": "path" | |
}, | |
{ | |
"background": "#fffb38", | |
"foreground": "#193549", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true, | |
"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": "powerline", | |
"type": "git" | |
}, | |
{ | |
"background": "#4063D8", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"template": " \ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " | |
}, | |
"style": "powerline", | |
"type": "java" | |
}, | |
{ | |
"type": "terraform", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#000000", | |
"background": "#ebcc34", | |
"properties": { | |
"fetch_version" : true, | |
"template": " TF v{{ .Version }} " | |
} | |
}, | |
{ | |
"background": "#6CA35E", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"fetch_version": true, | |
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " | |
}, | |
"style": "powerline", | |
"type": "dotnet" | |
}, | |
{ | |
"background": "#ffff66", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"template": " \uf0e7 " | |
}, | |
"style": "powerline", | |
"type": "root" | |
}, | |
{ | |
"background": "#2e9599", | |
"background_templates": [ | |
"{{ if gt .Code 0 }}#f1184c{{ end }}" | |
], | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"always_enabled": true, | |
"template": " \ue23a{{ if gt .Code 0 }}\uf00d{{ else }}\uf42e{{ end }} " | |
}, | |
"style": "powerline", | |
"trailing_diamond": "\ue0b4", | |
"type": "exit" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"segments": [ | |
{ | |
"background": "#0077c2", | |
"foreground": "#ffffff", | |
"properties": { | |
"template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>" | |
}, | |
"style": "plain", | |
"type": "shell" | |
}, | |
{ | |
"background": "#1BD760", | |
"foreground": "#111111", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"properties": { | |
"paused_icon": "\uf04c ", | |
"playing_icon": "\uf04b ", | |
"template": " \uf167 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} " | |
}, | |
"style": "powerline", | |
"type": "ytm" | |
}, | |
{ | |
"background": "#f36943", | |
"background_templates": [ | |
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", | |
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", | |
"{{if eq \"Full\" .State.String}}#4caf50{{end}}" | |
], | |
"foreground": "#ffffff", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"properties": { | |
"charged_icon": "\ue22f ", | |
"charging_icon": "\ue234 ", | |
"discharging_icon": "\ue231 ", | |
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 " | |
}, | |
"style": "powerline", | |
"type": "battery" | |
}, | |
{ | |
"background": "#2e9599", | |
"foreground": "#111111", | |
"invert_powerline": true, | |
"leading_diamond": "\ue0b2", | |
"properties": { | |
"time_format": "2006-01-02 15:04:05" | |
}, | |
"style": "diamond", | |
"trailing_diamond": "\ue0b4", | |
"type": "time" | |
} | |
], | |
"type": "rprompt" | |
} | |
], | |
"console_title": true, | |
"console_title_style": "folder", | |
"final_space": true, | |
"version": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment