Created
August 4, 2025 19:55
-
-
Save davivc/0b255e061068db84eb0f64ca7ff96d04 to your computer and use it in GitHub Desktop.
My 'Oh My Posh' theme based on the night-owl theme for the SynthWave 84' vs code theme
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": [ | |
{ | |
"foreground": "#f92aad", | |
"style": "plain", | |
"template": "\u256d\u2500", | |
"type": "text" | |
}, | |
{ | |
"background": "#2d1b69", | |
"foreground": "#f92aad", | |
"leading_diamond": "\ue0b6", | |
"properties": { | |
"windows": "\ue62a" | |
}, | |
"style": "diamond", | |
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} ", | |
"trailing_diamond": "\ue0b0", | |
"type": "os" | |
}, | |
{ | |
"background": "#1a0933", | |
"foreground": "#f92aad", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \uf292 ", | |
"type": "root" | |
}, | |
{ | |
"background": "#0f3460", | |
"foreground": "#00d9ff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"folder_icon": "\uf07c ", | |
"folder_separator_icon": "<#00d9ff>\ue0b1</> ", | |
"home_icon": " \ueb06 ", | |
"style": "agnoster" | |
}, | |
"style": "powerline", | |
"template": "{{ path .Path .Location }}", | |
"type": "path" | |
}, | |
{ | |
"background": "#16213e", | |
"background_templates": [ | |
"{{ if or (.Working.Changed) (.Staging.Changed) }}#2d1b69{{ end }}", | |
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#1a0933{{ end }}", | |
"{{ if gt .Ahead 0 }}#0f3460{{ end }}", | |
"{{ if gt .Behind 0 }}#0f3460{{ end }}" | |
], | |
"foreground": "#00d9ff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"branch_icon": "\ue725 ", | |
"fetch_status": true, | |
"fetch_upstream_icon": true, | |
"fetch_worktree_count": true | |
}, | |
"style": "powerline", | |
"template": " {{ .UpstreamIcon }} {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{ .StashCount }}{{ end }} ", | |
"type": "git" | |
}, | |
{ | |
"background": "#2d1b69", | |
"foreground": "#f92aad", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"fetch_package_manager": true, | |
"npm_icon": "\ue71e ", | |
"yarn_icon": "\ue6a7 " | |
}, | |
"style": "powerline", | |
"template": "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }}{{ end }}{{ .Full }} ", | |
"type": "node" | |
}, | |
{ | |
"background": "#306998", | |
"foreground": "#FFE873", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue235 {{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}", | |
"type": "python" | |
}, | |
{ | |
"background": "#0f3460", | |
"foreground": "#f92aad", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": "\ue626 {{ .Full }} ", | |
"type": "go" | |
}, | |
{ | |
"background": "#16213e", | |
"foreground": "#00d9ff", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"style": "roundrock", | |
"threshold": 500 | |
}, | |
"style": "powerline", | |
"template": " {{ .FormattedMs }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "executiontime" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "right", | |
"overflow": "break", | |
"segments": [ | |
{ | |
"background": "#1DB954", | |
"foreground": "#000000", | |
"leading_diamond": "\ue0b6", | |
"properties": { | |
"playing_icon": "\uf1bc " | |
}, | |
"style": "diamond", | |
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} ~ {{ .Track }}{{ end }} ", | |
"trailing_diamond": "\ue0b4", | |
"type": "spotify" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#f92aad", | |
"style": "plain", | |
"template": "\u2570\u2500", | |
"type": "text" | |
}, | |
{ | |
"foreground": "#00d9ff", | |
"foreground_templates": ["{{ if gt .Code 0 }}#f92aad{{ end }}"], | |
"properties": { | |
"always_enabled": true | |
}, | |
"style": "plain", | |
"template": "\ue285\ue285", | |
"type": "status" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"console_title_template": "{{ .Folder }}", | |
"final_space": true, | |
"transient_prompt": { | |
"background": "transparent", | |
"foreground": "#00d9ff", | |
"template": "\ue285 " | |
}, | |
"version": 3 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist is my version for the night owl 'Oh My Posh' theme based on the SynthWave 84' vs code theme.