Last active
July 23, 2026 07:45
-
-
Save h1romas4/816ad4ac8ad0355fe95d343b702bce25 to your computer and use it in GitHub Desktop.
my-posh-theme.omp.json
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": "#e95420", | |
| "foreground": "#011627", | |
| "leading_diamond": "\ue0b6", | |
| "properties": { | |
| "windows": "\ue62a" | |
| }, | |
| "style": "diamond", | |
| "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} {{.Shell}} ", | |
| "type": "os" | |
| }, | |
| { | |
| "type": "kubectl", | |
| "style": "diamond", | |
| "leading_diamond": "\ue0b6", | |
| "background": "#a01386", | |
| "foreground": "#011627", | |
| "template": "{{ if .Context }}🦭 {{ regexReplaceAll \"/.*$\" .Context \"\" }} {{ end }}" | |
| }, | |
| { | |
| "background": "#0087af", | |
| "foreground": "#011627", | |
| "properties": { | |
| "style": "agnoster_short", | |
| "max_depth": 2, | |
| "folder_icon": "\u2026", | |
| "folder_separator_icon": " <transparent>\ue0b1</> " | |
| }, | |
| "style": "powerline", | |
| "powerline_symbol": "\ue0b0", | |
| "template": " {{ .Path }} ", | |
| "type": "path" | |
| }, | |
| { | |
| "background": "#21c7a8", | |
| "background_templates": [ | |
| "{{ if or (.Working.Changed) (.Staging.Changed) }}#f77622{{ end }}", | |
| "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#e43b44{{ end }}", | |
| "{{ if gt .Ahead 0 }}#2ce8f5{{ end }}", | |
| "{{ if gt .Behind 0 }}#f77622{{ end }}" | |
| ], | |
| "foreground": "#262b44", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "fetch_stash_count": true, | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} ", | |
| "type": "git" | |
| }, | |
| { | |
| "background": "#0087af", | |
| "background_templates": [ | |
| "{{ if gt .Code 0 }}#ff0044{{ end }}" | |
| ], | |
| "foreground": "#011627", | |
| "leading_diamond": "<transparent,background>\ue0b0</>", | |
| "properties": { | |
| "always_enabled": true | |
| }, | |
| "style": "diamond", | |
| "template": " \uf0e7 ", | |
| "trailing_diamond": "\ue0b4", | |
| "type": "status" | |
| } | |
| ], | |
| "type": "prompt" | |
| } | |
| ], | |
| "final_space": true, | |
| "version": 2 | |
| } |
h1romas4
commented
Jul 23, 2026
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment