My oh my posh v7.8.1 theme.
Last active
February 21, 2022 02:13
-
-
Save xt0rted/5c9a5bea2a224802ea5a2fbbe8fcbf1d to your computer and use it in GitHub Desktop.
My 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", | |
| "segments": [ | |
| { | |
| "background": "#0077c2", | |
| "foreground": "#fafafa", // gray-50 | |
| "properties": { | |
| "template": " \ufcb5 {{ .Name }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "shell" | |
| }, | |
| { | |
| "background": "#fef08a", // yellow-200 | |
| "foreground": "#ef4444", // red-500 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "template": " \uf0e7\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "root" | |
| }, | |
| { | |
| "background": "#ef4444", // red-500 | |
| "foreground": "#fafafa", // gray-50 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "template": " \ue20f {{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "exit" | |
| }, | |
| { | |
| "background": "#9333ea", // purple-600 | |
| "foreground": "#fafafa", // gray-50 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "template": " <#fafafa>\uf608</> {{ .FormattedMs }}\u2800", | |
| "threshold": 500 | |
| }, | |
| "style": "powerline", | |
| "type": "executiontime" | |
| }, | |
| { | |
| "background": "#592B8D", | |
| "foreground": "#fafafa", // gray-50 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "postfix": "\u2800", | |
| "var_name": "OMP_VSEnvironment" | |
| }, | |
| "style": "powerline", | |
| "type": "envvar" | |
| }, | |
| { | |
| "background": "#38bdf8", // sky-400 | |
| "foreground": "#171717", // true-gray-900 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "display_id": true, | |
| "display_name": true, | |
| "info_separator": " @ ", | |
| "template": " \ufd03 {{ .Name }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "az" | |
| }, | |
| { | |
| "background": "#7dd3fc", // sky-300 | |
| "foreground": "#171717", // true-gray-900 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "folder_icon": "\uf115", | |
| "mapped_locations": { | |
| }, | |
| "style": "full", | |
| "template": "\u2800{{ .Path }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "path" | |
| }, | |
| { | |
| "background": "#171717", // true-gray-900 | |
| "foreground": "#fafafa", // gray-50 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "fetch_stash_count": true, | |
| "fetch_status": true, | |
| "fetch_upstream_icon": false, | |
| "fetch_worktree_count": true, | |
| "template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 <red>{{ .Working.String }}</>{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "git" | |
| }, | |
| { | |
| "background": "#512bd4", // dotnet-purple | |
| "foreground": "#fafafa", // gray-50 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "dotnet" | |
| }, | |
| { | |
| "background": "#6F9F60", // node-logo-mark-green | |
| "foreground": "#fafafa", // gray-50 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "fetch_package_manager": true, | |
| "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "node" | |
| }, | |
| { | |
| "background": "#906cff", | |
| "foreground": "#171717", // true-gray-900 | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "display_mode": "context", | |
| "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}\u2800" | |
| }, | |
| "style": "powerline", | |
| "type": "python" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "alignment": "right", | |
| "segments": [ | |
| { | |
| "foreground": "#fafafa", // gray-50 | |
| "properties": { | |
| "template": "[{{ .CurrentDate | date .Format }}]", | |
| "time_format": "15:04:05" | |
| }, | |
| "style": "plain", | |
| "type": "time" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "foreground": "#fafafa", // gray-50 | |
| "properties": { | |
| "template": "\u276f\u2800" | |
| }, | |
| "style": "plain", | |
| "type": "text" | |
| } | |
| ], | |
| "type": "prompt" | |
| } | |
| ], | |
| "console_title": true, | |
| "console_title_style": "template", | |
| "console_title_template": "{{if .Root}}(Admin) {{end}}{{.Path}}", | |
| "version": 1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
