{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "version": 2, "final_space": true, "console_title_template": "{{.UserName}}@{{.HostName}}:{{.PWD}}", "blocks": [ { "type": "prompt", "alignment": "left", "segments": [ { "type": "os", "style": "diamond", "foreground": "#011627", "background": "#21c7a8", "leading_diamond": "\u256d\u2500\ue0b6", "trailing_diamond": "\ue0b0", "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", "properties": { "windows": "\ue62a" } }, { "type": "root", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#ffeb95", "background": "#ef5350", "template": " \uf292 " }, { "type": "path", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#011627", "background": "#82AAFF", "template": "{{ path .Path .Location }}", "properties": { "folder_icon": "\uf07c ", "folder_separator_icon": "<#011627>\ue0b1 ", "home_icon": " \ueb06 ", "style": "agnoster" } }, { "type": "git", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#011627", "background": "#addb67", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#e4cf6a{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f78c6c{{ end }}", "{{ if gt .Ahead 0 }}#C792EA{{ end }}", "{{ if gt .Behind 0 }}#c792ea{{ end }}" ], "template": " {{ url .UpstreamIcon .UpstreamURL }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{ .StashCount }}{{ end }} ", "properties": { "branch_icon": "\ue725 ", "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, "fetch_worktree_count": true } }, { "type": "executiontime", "style": "diamond", "foreground": "#d6deeb", "background": "#575656", "leading_diamond": "\ue0b0", "trailing_diamond": "\ue0b4", "template": " {{ .FormattedMs }}", "properties": { "style": "roundrock", "threshold": 0 } } ] }, { "type": "prompt", "alignment": "right", "segments": [ { "type": "shell", "style": "diamond", "foreground": "#011627", "background": "#d6deeb", "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b2", "template": "\uf489 {{ .Name }} " }, { "type": "sysinfo", "style": "diamond", "foreground": "#ffffff", "background": "#8f43f3", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue266 {{ round .PhysicalPercentUsed .Precision }}% " }, { "type": "angular", "style": "diamond", "foreground": "#ce092f", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "aws", "style": "diamond", "foreground": "#faa029", "background": "#565656", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} " }, { "type": "az", "style": "diamond", "foreground": "#337bb6", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\uebd8 {{ .EnvironmentName }} " }, { "type": "azfunc", "style": "diamond", "foreground": "#5398c2", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\uf104<#f5bf45>\uf0e7\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "cds", "style": "diamond", "foreground": "#100e23", "background": "#5a7a94", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue311 cds {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "crystal", "style": "diamond", "foreground": "#000000", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue370 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "cf", "style": "diamond", "foreground": "#1d5185", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\uf40a cf {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "cftarget", "style": "diamond", "foreground": "#1d5185", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\uf40a {{if .Org }}{{ .Org }}{{ end }}{{ if .Space }}/{{ .Space }}{{ end }} " }, { "type": "cmake", "style": "diamond", "foreground": "#01a300", "background": "#d2d2d2", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "<#2829b2>\ue61e <#be1818>\ue61d cmake {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "dart", "style": "diamond", "foreground": "#055b9c", "background": "#e1e8e9", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "dotnet", "style": "diamond", "foreground": "#0d6da8", "background": "#0e0e0e", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " }, { "type": "flutter", "style": "diamond", "foreground": "#ffffff", "background": "#06A4CE", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue28e {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "go", "style": "diamond", "foreground": "#06aad5", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "haskell", "style": "diamond", "foreground": "#906cff", "background": "#100e23", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue61f {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "java", "style": "diamond", "foreground": "#ec2729", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "julia", "style": "diamond", "foreground": "#ffffff", "background": "#945bb3", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "<#ca3c34>\ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "kotlin", "style": "diamond", "foreground": "#ffffff", "background": "#906cff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "K {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "kubectl", "style": "diamond", "foreground": "#ffffff", "background": "#316ce4", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\uf308 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} " }, { "type": "lua", "style": "diamond", "foreground": "#000081", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue620 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "node", "style": "diamond", "foreground": "#3C873A", "background": "#303030", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ", "properties": { "fetch_package_manager": true, "npm_icon": "<#cc3a3a>\ue71e ", "yarn_icon": "<#348cba>\ue6a7 " } }, { "type": "nx", "style": "diamond", "foreground": "#1e293b", "background": "#6488c0", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "Nx {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "perl", "style": "diamond", "foreground": "#ffffff", "background": "#41436d", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue769 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "php", "style": "diamond", "foreground": "#000000", "background": "#787CB5", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue73d {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "python", "style": "diamond", "foreground": "#FFE873", "background": "#306998", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}" }, { "type": "r", "style": "diamond", "foreground": "#1c68bd", "background": "#b9bbbf", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "R {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "ruby", "style": "diamond", "foreground": "#9c1006", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "rust", "style": "diamond", "foreground": "#000000", "background": "#ffffff", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "swift", "style": "diamond", "foreground": "#ffffff", "background": "#fe562e", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b2", "template": "\ue755 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " }, { "type": "time", "style": "diamond", "foreground": "#d6deeb", "background": "#234d70", "leading_diamond": "\ue0b2", "trailing_diamond": "\ue0b4", "template": "\ue641 {{ .CurrentDate | date .Format }}", "properties": { "time_format": "3:04PM" } } ], "overflow": "break" }, { "type": "prompt", "alignment": "left", "segments": [ { "type": "text", "style": "plain", "foreground": "#21c7a8", "template": "\u2570\u2500" }, { "type": "spotify", "style": "diamond", "foreground": "#011627", "background": "#1DB954", "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0c6 ", "template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} ~ {{ .Track }}{{ end }} ", "properties": { "playing_icon": "\uf1bc " } }, { "type": "status", "style": "plain", "foreground": "#22da6e", "foreground_templates": [ "{{ if gt .Code 0 }}#ef5350{{ end }}" ], "template": "\ue285\ue285", "properties": { "always_enabled": true } } ], "newline": true } ], "transient_prompt": { "foreground": "#d6deeb", "background": "transparent", "template": "\ue285 " } }