Last active
July 3, 2022 23:11
-
-
Save BoscoDomingo/e94fb1d568aa30a2c907371a4c1ba5b9 to your computer and use it in GitHub Desktop.
Devious Diamonds 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", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "type": "iterm", | |
| "style": "plain", | |
| "foreground": "cyan", | |
| "template": "{{ .PromptMark }}" | |
| }, | |
| { | |
| "foreground": "cyan", | |
| "properties": { | |
| "alpine": "\uf300 ", | |
| "arch": "\uf303 ", | |
| "centos": "\uf304 ", | |
| "debian": "\uf306 ", | |
| "elementary": "\uf309 ", | |
| "fedora": "\uf30a ", | |
| "gentoo": "\uf30d ", | |
| "linux": "\ue712 ", | |
| "macos": "\uf179 ", | |
| "manjaro": "\uf312 ", | |
| "mint": "\uf30f ", | |
| "opensuse": "\uf314 ", | |
| "raspbian": "\uf315 ", | |
| "ubuntu": "\uf31b ", | |
| "windows": "\uf871 ", | |
| "wsl": "\ue712 ", | |
| "wsl_separator": " on " | |
| }, | |
| "style": "diamond", | |
| "template": " {{ if .WSL }}\ue62a \uf44c {{ end }}{{.Icon}}\u2550", | |
| "trailing_diamond": "<transparent,>\ue0b2</>", | |
| "type": "os" | |
| }, | |
| { | |
| "background": "#6d6d6d", | |
| "foreground": "green", | |
| "leading_diamond": "\ue0b2", | |
| "style": "diamond", | |
| "template": " \uf489 {{ .Name }} ", | |
| "type": "shell" | |
| }, | |
| { | |
| "background": "magenta", | |
| "foreground": "#d9d9d9", | |
| "powerline_symbol": "\ue0bc", | |
| "style": "powerline", | |
| "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ", | |
| "type": "session" | |
| }, | |
| { | |
| "background": "lightCyan", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "fetch_version": true | |
| }, | |
| "style": "powerline", | |
| "template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "julia" | |
| }, | |
| { | |
| "background": "lightCyan", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "fetch_version": true | |
| }, | |
| "style": "powerline", | |
| "template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "go" | |
| }, | |
| { | |
| "background": "lightCyan", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "style": "powerline", | |
| "template": " \ue738 {{ .Full }}", | |
| "type": "java" | |
| }, | |
| { | |
| "background": "lightCyan", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "style": "powerline", | |
| "template": " \ue73d {{ .Full }} ", | |
| "type": "php" | |
| }, | |
| { | |
| "background": "lightGreen", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "fetch_version": true | |
| }, | |
| "style": "powerline", | |
| "template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ", | |
| "type": "node" | |
| }, | |
| { | |
| "background": "yellow", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "display_mode": "files", | |
| "fetch_version": false | |
| }, | |
| "style": "powerline", | |
| "template": " \ufd03 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "azfunc" | |
| }, | |
| { | |
| "background": "red", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "display_mode": "files", | |
| "fetch_version": true | |
| }, | |
| "style": "powerline", | |
| "template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "ruby" | |
| }, | |
| { | |
| "background": "lightYellow", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "style": "powerline", | |
| "template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ", | |
| "type": "kubectl" | |
| }, | |
| { | |
| "background": "lightYellow", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "display_mode": "files", | |
| "fetch_virtual_env": false | |
| }, | |
| "style": "powerline", | |
| "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", | |
| "type": "python" | |
| }, | |
| { | |
| "background_templates": [ | |
| "{{if contains \"default\" .Profile}}yellow{{end}}", | |
| "{{if contains \"jan\" .Profile}}magenta{{end}}" | |
| ], | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "display_default": false | |
| }, | |
| "style": "powerline", | |
| "template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ", | |
| "type": "aws" | |
| }, | |
| { | |
| "background": "yellow", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "time_format": "Mon | 15:04:05" | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .CurrentDate | date .Format }} ", | |
| "type": "time" | |
| }, | |
| { | |
| "background": "cyan", | |
| "foreground": "black", | |
| "properties": { | |
| "style": "austin", | |
| "threshold": 0 | |
| }, | |
| "style": "diamond", | |
| "template": " {{ .FormattedMs }} ", | |
| "trailing_diamond": "\ue0b0", | |
| "type": "executiontime" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "alignment": "right", | |
| "segments": [ | |
| { | |
| "background": "magenta", | |
| "foreground": "black", | |
| "leading_diamond": "\ue0b2", | |
| "properties": { | |
| "branch_icon": "\ue725 ", | |
| "fetch_stash_count": true, | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true, | |
| "fetch_worktree_count": true | |
| }, | |
| "style": "diamond", | |
| "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} \uf692 {{ .StashCount }}{{ end }} ", | |
| "trailing_diamond": "\ue0b0", | |
| "type": "git" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "foreground": "cyan", | |
| "style": "plain", | |
| "template": " \u255a", | |
| "type": "text" | |
| }, | |
| { | |
| "background": "green", | |
| "background_templates": ["{{ if gt .Code 0 }}#FF0000{{ end }}"], | |
| "foreground": "black", | |
| "foreground_templates": ["{{ if gt .Code 0 }}#ffffff{{ end }}"], | |
| "leading_diamond": "\ue0b2", | |
| "properties": { | |
| "always_enabled": true | |
| }, | |
| "style": "diamond", | |
| "template": "{{ if gt .Code 0 }} \u2716 {{ else }} \u2714 {{ end }}", | |
| "type": "exit" | |
| }, | |
| { | |
| "background": "blue", | |
| "foreground": "black", | |
| "powerline_symbol": "\ue0bc", | |
| "properties": { | |
| "folder_icon": "\uf07b", | |
| "folder_separator_icon": " \uf554 ", | |
| "home_icon": "\uf7db", | |
| "max_depth": 3, | |
| "style": "agnoster_short" | |
| }, | |
| "style": "powerline", | |
| "template": "{{ if gt .Code 0 }} {{ else }}{{ end }}\ue5ff {{ .Path }} ", | |
| "type": "path" | |
| }, | |
| { | |
| "background": "blue", | |
| "background_templates": ["{{ if .Root }}red{{ end }}"], | |
| "foreground": "#ffff00", | |
| "properties": { | |
| "root_icon": "\uf292" | |
| }, | |
| "style": "diamond", | |
| "template": "{{ if .Root }} \uf0e7 {{ else }}\u0008{{ end }}", | |
| "trailing_diamond": "\ue0b0", | |
| "type": "text" | |
| } | |
| ], | |
| "type": "prompt" | |
| } | |
| ], | |
| "console_title_template": "{{ .Folder }}", | |
| "osc99": true, | |
| "palette": { | |
| "black": "#1B1A23", | |
| "blue": "#9580FF", | |
| "black-background": "#22212C", | |
| "lightBlue-brightBlue": "#AA99FF", | |
| "lightCyan-brightCyan": "#99FFEE", | |
| "lightGreen-brightGreen": "#A2FF99", | |
| "lightMagenta-brightPurple": "#FF99CC", | |
| "lightRed-brightRed": "#FFAA99", | |
| "lightWhite-brightWhite": "#FFFFFF", | |
| "lightYellow-brightYellow": "#FFFF80", | |
| "selection-selectionBackground": "#454158", | |
| "comment-brightBlack": "#7970A9", | |
| "cyan": "#80FFEA", | |
| "green": "#8AFF80", | |
| "magenta-purple": "#FF80BF", | |
| "red": "#FF9580", | |
| "white-cursorColor-foreground": "#F8F8F2", | |
| "yellow": "#FFCA80" | |
| }, | |
| "version": 2 | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The exit marker is ✔ when correct, or ✖ when wrong