Last active
June 8, 2024 19:47
-
-
Save dbarkwell/daf792fa12b6c4eb3c566e66dc898581 to your computer and use it in GitHub Desktop.
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"version": 2, | |
"final_space": true, | |
"console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "root", | |
"style": "plain", | |
"foreground": "#FFEE58", | |
"template": "\uf0e7", | |
"properties": { | |
"root_icon": "\ue0a2" | |
} | |
}, | |
{ | |
"type": "path", | |
"style": "diamond", | |
"foreground": "#100e23", | |
"background": "#91ddff", | |
"leading_diamond": "\ue0b6", | |
"trailing_diamond": "\ue0b0", | |
"template": " \ue5ff {{ .Path }} ", | |
"properties": { | |
"style": "folder" | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#193549", | |
"background": "#95ffa4", | |
"background_templates": [ | |
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffd133{{ end }}", | |
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}", | |
"{{ if gt .Ahead 0 }}#f23a3a{{ end }}", | |
"{{ if gt .Behind 0 }}#b236f4{{ end }}" | |
], | |
"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}} \uf0c7 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ", | |
"properties": { | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true | |
} | |
}, | |
{ | |
"type": "python", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#100e23", | |
"background": "#906cff", | |
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " | |
}, | |
{ | |
"type": "dotnet", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#ffffff", | |
"background": "#0184bc", | |
"template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " | |
}, | |
{ | |
"type": "node", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#ffffff", | |
"background": "#6CA35E", | |
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " | |
}, | |
{ | |
"type": "exit", | |
"style": "diamond", | |
"foreground": "#ffffff", | |
"background": "#2e9599", | |
"background_templates": [ | |
"{{ if gt .Code 0 }}#f1184c{{ end }}" | |
], | |
"leading_diamond": "<transparent>\ue0b0</>", | |
"trailing_diamond": "\ue0b4", | |
"template": "<transparent> </>", | |
"properties": { | |
"always_enabled": true | |
} | |
} | |
] | |
}, | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "text", | |
"style": "plain", | |
"foreground": "#007ACC", | |
"template": "#" | |
} | |
], | |
"newline": true | |
} | |
], | |
"osc99": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment