Created
December 7, 2022 15:36
-
-
Save nul800sebastiaan/5e01afcee08570f5f544c6eba488e250 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": "#DA627D", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"style": "full" | |
}, | |
"style": "powerline", | |
"template": " {{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"background": "#20b603", | |
"background_templates": [ | |
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FCA17D{{ end }}", | |
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}", | |
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}", | |
"{{ if gt .Behind 0 }}#f17c37{{ end }}" | |
], | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"fetch_status": true, | |
"fetch_upstream_icon": true | |
}, | |
"style": "powerline", | |
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} ", | |
"type": "git" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "right", | |
"segments": [ | |
{ | |
"background": "#f78fb3", | |
"foreground": "#ffffff", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"style": "powerline", | |
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ", | |
"type": "node" | |
}, | |
{ | |
"background": "#00ffff", | |
"foreground": "#000000", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"style": "powerline", | |
"template": " \ue77f {{ .Full }} ", | |
"type": "dotnet" | |
}, | |
{ | |
"background": "#906cff", | |
"foreground": "#100e23", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"style": "powerline", | |
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", | |
"type": "python" | |
}, | |
{ | |
"background": "#83769c", | |
"foreground": "#ffffff", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"properties": { | |
"always_enabled": true | |
}, | |
"style": "powerline", | |
"template": " {{ .FormattedMs }} ", | |
"type": "executiontime" | |
}, | |
{ | |
"background": "#86BBD8", | |
"foreground": "#FFD700", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"style": "powerline", | |
"template": " \u26a1", | |
"type": "root" | |
}, | |
{ | |
"background": "#33658A", | |
"foreground": "#ffffff", | |
"invert_powerline": true, | |
"properties": { | |
"time_format": "15:04" | |
}, | |
"style": "diamond", | |
"template": " \u2665 {{ .CurrentDate | date .Format }} ", | |
"trailing_diamond": "\ue0b4", | |
"type": "time" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"style": "plain", | |
"template": " \uf0e7 ", | |
"type": "root" | |
}, | |
{ | |
"foreground": "#ffffff", | |
"style": "plain", | |
"template": "<#69FF94>\u276f</>", | |
"type": "text" | |
} | |
], | |
"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