Created
August 14, 2022 19:52
-
-
Save LuanRoger/dd140d1d97cef83e610ef64cbe8ae4b4 to your computer and use it in GitHub Desktop.
Oh My Posh - Material 3 Theme
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", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#c3c0ff", | |
"foreground": "#1e08a0", | |
"leading_diamond": "\ue0b6", | |
"properties": { | |
"home_icon": "\uf7dd", | |
"style": "mixed" | |
}, | |
"style": "diamond", | |
"template": "{{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"background": "#ffb876", | |
"foreground": "#4b2800", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true | |
}, | |
"style": "powerline", | |
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ", | |
"type": "git" | |
}, | |
{ | |
"type": "battery", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground_templates": [ | |
"{{if eq \"Charging\" .State.String}}#003549{{end}}", | |
"{{if eq \"Discharging\" .State.String}}#ffb5a0{{end}}", | |
"{{if eq \"Full\" .State.String}}#00390a{{end}}" | |
], | |
"background_templates": [ | |
"{{if eq \"Charging\" .State.String}}#7ad0ff{{end}}", | |
"{{if eq \"Discharging\" .State.String}}#5e1702{{end}}", | |
"{{if eq \"Full\" .State.String}}#78dc77{{end}}" | |
], | |
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}\uF295 ", | |
"properties": { | |
"discharging_icon": "\uE231 ", | |
"charging_icon": "\uE234 ", | |
"charged_icon": "\uE22F " | |
} | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "right", | |
"segments": [ | |
{ | |
"type": "exit", | |
"background": "#382fb5", | |
"powerline_symbol": "\ue0b2", | |
"invert_powerline": true, | |
"style": "powerline", | |
"background_templates": [ | |
"{{ if gt .Code 0 }}#ffb4ab{{ end }}" | |
], | |
"foreground": "#e2dfff", | |
"properties": { | |
"always_enabled": true | |
}, | |
"template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} " | |
}, | |
{ | |
"type": "spotify", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b2", | |
"invert_powerline": true, | |
"foreground": "#e2dfff", | |
"background": "#006e2c", | |
"template": " {{ if ne .Status \"stopped\"}}\uf1bc {{ if eq .Status \"playing\"}}\uf04b{{ end }}{{ if eq .Status \"paused\"}}\uf8e3{{ end }} {{.Track}}{{ end }} " | |
}, | |
{ | |
"type": "flutter", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b2", | |
"invert_powerline": true, | |
"foreground": "#e2dfff", | |
"background": "#005eb3", | |
"template": " {{ if .Error }}{{ .Error }}{{ else }}\ue798 {{ .Full }} {{ end }}" | |
}, | |
{ | |
"type": "dotnet", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b2", | |
"invert_powerline": true, | |
"foreground": "#e2dfff", | |
"background": "#9712c9", | |
"template": " {{ if .Unsupported }}{{ else }}\ufb0f {{ .Full }} {{ end }}" | |
}, | |
{ | |
"type": "python", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b2", | |
"invert_powerline": true, | |
"foreground": "#100e23", | |
"background": "#00639b", | |
"template": " {{ if .Error }}{{ .Error }}{{ else }}\uE235 {{ .Full }} {{ end }}" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"background": "#5854a8", | |
"foreground": "#ffffff", | |
"leading_diamond": "\ue0b6", | |
"style": "diamond", | |
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", | |
"type": "os" | |
}, | |
{ | |
"background": "#9b4425", | |
"foreground": "#FBD951", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": "\uf0e7 ", | |
"type": "root" | |
}, | |
{ | |
"background": "#b7210c", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " {{ .UserName }} ", | |
"type": "session" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "right", | |
"segments": [ | |
{ | |
"background": "#006c48", | |
"foreground": "#ffffff", | |
"style": "plain", | |
"template": "<#006c48,transparent>\ue0b6</>\uf489 {{ .Name }} <transparent,#006c48>\ue0b2</>", | |
"type": "shell" | |
}, | |
{ | |
"style": "powerline", | |
"invert_powerline": true, | |
"powerline_symbol": "\ue0b2", | |
"background": "#eaea31", | |
"foreground": "#1d1d00", | |
"properties": { | |
"threshold": 500, | |
"always_enabled": true, | |
"style": "austin" | |
}, | |
"type": "executiontime" | |
} | |
], | |
"type": "rprompt" | |
} | |
], | |
"final_space": true, | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment