Last active
April 12, 2024 23:33
-
-
Save schummbo/0e2497e742b4e87ad9c33ada61276e37 to your computer and use it in GitHub Desktop.
Oh My Posh 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", | |
"version": 2, | |
"final_space": true, | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "path", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b4", | |
"foreground": "#fefae0", | |
"background": "#264653", | |
"template": " {{ .Path }} ", | |
"properties": { | |
"style": "full", | |
"mapped_locations_enabled": false | |
} | |
}, | |
{ | |
"background": "#2a9d8f", | |
"foreground": "#181d1d", | |
"properties": { | |
"branch_icon": "\ue725 ", | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true, | |
"fetch_worktree_count": true | |
}, | |
"style": "powerline", | |
"powerline_symbol": "\ue0b4", | |
"template": " {{ .HEAD }}", | |
"type": "git" | |
}, | |
{ | |
"background": "#e9c46a", | |
"foreground": "#181d1d", | |
"properties": { | |
"branch_icon": "\ue725 ", | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true, | |
"fetch_worktree_count": true | |
}, | |
"style": "powerline", | |
"powerline_symbol": "\ue0b4", | |
"template": " {{ .UpstreamIcon }}{{if .BranchStatus }}{{ .BranchStatus }}{{ end }}", | |
"type": "git" | |
}, | |
{ | |
"background": "#e76f51", | |
"foreground": "#181d1d", | |
"properties": { | |
"branch_icon": "\ue725 ", | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true, | |
"fetch_worktree_count": true | |
}, | |
"style": "powerline", | |
"powerline_symbol": "\ue0b4", | |
"template": "{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }} ", | |
"type": "git" | |
}, | |
{ | |
"background": "#f4a261", | |
"foreground": "#181d1d", | |
"properties": { | |
"branch_icon": "\ue725 ", | |
"fetch_stash_count": true, | |
"fetch_status": true, | |
"fetch_upstream_icon": true, | |
"fetch_worktree_count": true | |
}, | |
"style": "powerline", | |
"powerline_symbol": "\ue0b4", | |
"template": "{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} ", | |
"type": "git" | |
} | |
] | |
}, | |
{ | |
"type": "rprompt", | |
"alignment": "right", | |
"segments": [ | |
{ | |
"type": "executiontime", | |
"style": "diamond", | |
"leading_diamond": "\ue0b6", | |
"foreground": "#707070", | |
"background": "#313131", | |
"template": " {{ .FormattedMs }} ", | |
"properties": { | |
"threshold": 2000, | |
"style": "austin", | |
"always_enabled": false | |
} | |
}, | |
{ | |
"type": "dotnet", | |
"style": "diamond", | |
"leading_diamond": "\ue0b6", | |
"foreground": "#b3b3b3", | |
"background": "#5811d3", | |
"template": "\ue70c {{.Full}}", | |
"properties": { | |
"fetch_version": true | |
} | |
}, | |
{ | |
"type": "react", | |
"style": "diamond", | |
"leading_diamond": "\ue0b6", | |
"foreground": "#252525", | |
"background": "#287bdb", | |
"template": " {{ .Full }} " | |
}, | |
{ | |
"type": "node", | |
"style": "diamond", | |
"leading_diamond": "\ue0b6", | |
"foreground": "#ebeaea", | |
"background": "#0c6922", | |
"template": " {{ .Full }} " | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment