Last active
August 27, 2023 17:40
-
-
Save avianbc/fc7f8a79633a0e1ca3961e344bbc5f2d to your computer and use it in GitHub Desktop.
My Oh My Posh custom 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": "#2B2B2B", | |
| "style": "plain", | |
| "template": "\ue0c5", | |
| "type": "text" | |
| }, | |
| { | |
| "background": "#2B2B2B", | |
| "foreground": "#ffffff", | |
| "powerline_symbol": "\ue0c4", | |
| "style": "powerline", | |
| "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", | |
| "type": "os" | |
| }, | |
| { | |
| "background": "#2B2B2B", | |
| "foreground": "#FBD951", | |
| "powerline_symbol": "\ue0b0", | |
| "style": "powerline", | |
| "template": "\uf0e7 ", | |
| "type": "root" | |
| }, | |
| { | |
| "background": "#91ddff", | |
| "foreground": "#100e23", | |
| "leading_diamond": "<transparent,#26BDBB>\ue0b0</>", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "folder_separator_icon": " \ue0b1 ", | |
| "style": "full" | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .Path }} ", | |
| "trailing_diamond": "\ue0b0", | |
| "type": "path" | |
| }, | |
| { | |
| "background": "#95ffa4", | |
| "foreground": "#100e23", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "fetch_stash_count": true, | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ", | |
| "type": "git" | |
| }, | |
| { | |
| "background": "#910000", | |
| "foreground": "#ffffff", | |
| "style": "diamond", | |
| "template": " <#FBD951>\uf12a</> {{ .Meaning }} ", | |
| "trailing_diamond": "\ue0b0", | |
| "type": "status" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "foreground": "#007ACC", | |
| "style": "plain", | |
| "template": "\u276f ", | |
| "type": "text" | |
| } | |
| ], | |
| "type": "prompt" | |
| } | |
| ], | |
| "console_title_template": "{{.Folder | replace \"~\" \"🏠\"}} @ {{.Shell}}", | |
| "final_space": true, | |
| "osc99": true, | |
| "version": 2 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment