Skip to content

Instantly share code, notes, and snippets.

@frankstallone
Created August 14, 2025 09:55
Show Gist options
  • Save frankstallone/b6f806f0fd4d4ef0a9e58fe7e67da3ed to your computer and use it in GitHub Desktop.
Save frankstallone/b6f806f0fd4d4ef0a9e58fe7e67da3ed to your computer and use it in GitHub Desktop.
f4 oh-my-posh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"upgrade": {
"source": "cdn",
"interval": "168h",
"auto": false,
"notice": false
},
"console_title_template": "{{.UserName}}@{{.HostName}} in {{ .PWD }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"windows": "\ue62a "
},
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"foreground": "#fff",
"powerline_symbol": "\ue0b0",
"background": "#003543",
"type": "os",
"style": "powerline"
},
{
"properties": {
"folder_separator_icon": "/",
"style": "full"
},
"template": " \ue5ff {{ .Path }} ",
"foreground": "#003544",
"powerline_symbol": "\ue0b0",
"background": "#0087D8",
"type": "path",
"style": "powerline"
},
{
"properties": {
"fetch_status": true,
"fetch_upstream_icon": true
},
"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 }} ",
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"background": "#d2ff5e",
"type": "git",
"style": "powerline",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}",
"{{ if gt .Behind 0 }}#f17c37{{ end }}"
]
},
{
"properties": {
"always_enabled": true
},
"trailing_diamond": "\ue0b4",
"template": " \ueba2 {{ .FormattedMs }}\u2800",
"foreground": "#ffffff",
"background": "#83769c",
"type": "executiontime",
"style": "diamond"
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"template": " ⚡ ",
"foreground": "#fff",
"type": "root",
"style": "plain"
},
{
"template": "🦄 ",
"foreground": "#f1184c",
"type": "text",
"style": "plain"
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment