Created
July 15, 2024 12:54
-
-
Save slamer59/d26f0d7a5209cb82a7c5493bc97099b2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#3465a4", | |
"foreground": "#e4e4e4", | |
"leading_diamond": "\ue0b6", | |
"properties": { | |
"folder_separator_icon": "/", | |
"style": "full" | |
}, | |
"style": "diamond", | |
"template": " \ue5ff {{ .Path }} ", | |
"trailing_diamond": "\ue0b0", | |
"type": "path" | |
}, | |
{ | |
"background": "#18354c", | |
"foreground": "#ffc107", | |
"powerline_symbol": "\ue0b0", | |
"foreground_templates": [ | |
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffc107{{ end }}", | |
"{{ if gt .Ahead 0 }}#2EC4B6{{ end }}", | |
"{{ if gt .Behind 0 }}#8A4FFF{{ end }}" | |
], | |
"properties": { | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true | |
}, | |
"style": "diamond", | |
"template": "<#7a7a7a>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ", | |
"type": "git" | |
}, | |
{ | |
"background": "#ffc107", | |
"foreground": "#18354c", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", | |
"type": "python" | |
}, | |
{ | |
"background": "#ffc107", | |
"foreground": "#18354c", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \uf0e7 ", | |
"type": "root" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"final_space": true, | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment