{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "palette": { "black": "#000000", "bright-sun": "#ffec61", "dodger-blue": "#3a9aff", "mountain-meadow": "#20d18b", "red": "#ff0000", "white": "#ffffff", "git-background": "#2ea043", "git-modified": "#ff8533", "git-diverged": "#ff6600", "git-ahead": "#9456ff", "git-behind": "#ff4a4a", "sys-background": "#ca74ff", "ubuntu-orange": "#E95420", "windows-blue": "#00A4EF" }, "blocks": [ { "alignment": "left", "segments": [ { "type": "os", "style": "powerline", "powerline_symbol": "\ue0c6", "foreground": "p:white", "background": "transparent", "foreground_templates": [ "{{ if eq .OS \"windows\"}}p:windows-blue{{ end }}", "{{ if eq .OS \"ubuntu\"}}p:ubuntu-orange{{ end }}" ], "template": "{{.Icon}}{{ if .WSL }} on WSL{{ end }} " }, { "type": "dotnet", "style": "powerline", "powerline_symbol": "\ue0c6", "foreground": "p:white", "background": "p:windows-blue", "template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " }, { "type": "path", "style": "powerline", "powerline_symbol": "\ue0c6", "foreground": "p:black", "background": "p:dodger-blue", "template": " {{ .Path }} ", "properties": { "folder_icon": "\udb81\udf70", "folder_separator_icon": "\ue0b1 ", "home_icon": "\uf015", "style": "agnoster" } }, { "type": "git", "style": "powerline", "powerline_symbol": "\ue0c6", "foreground": "p:black", "background": "p:git-background", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}p:git-modified{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:git-diverged{{ end }}", "{{ if gt .Ahead 0 }}p:git-ahead{{ end }}", "{{ if gt .Behind 0 }}p:git-behind{{ end }}" ], "template": " {{ .UpstreamIcon }}{{ .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": { "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true } }, { "type": "sysinfo", "style": "diamond", "foreground": "p:black", "background": "p:sys-background", "template": "\udb80\udf5b {{ round .PhysicalPercentUsed .Precision }}% " }, { "type": "executiontime", "style": "diamond", "foreground": "p:black", "background": "p:sys-background", "template": "| \udb81\udd1f {{ .FormattedMs }} ", "properties": { "style": "austin", "threshold": 1 } }, { "type": "time", "style": "powerline", "powerline_symbol": "\ue0c6", "foreground": "p:black", "background": "p:bright-sun", "template": " \uf017 {{.CurrentDate | date .Format }} ", "properties": { "time_format": "15:04:05" } }, { "type": "status", "style": "plain", "foreground": "p:red", "template": "{{ if .Error }} \ue009 {{ reason .Code }} \ue009{{ end }}" } ], "type": "prompt" }, { "newline": true, "alignment": "left", "segments": [ { "type": "session", "foreground": "p:white", "background": "transparent", "style": "powerline", "powerline_symbol": "", "foreground_templates": [ "{{ if .Root }}p:red{{ else}}p:white{{ end }}" ], "template": "\uf2c0 {{ .UserName }}: " }, { "type": "shell", "foreground": "p:white", "background": "transparent", "style": "powerline", "powerline_symbol": "", "template": "{{ .Name }} " }, { "type": "python", "style": "diamond", "leading_diamond": "\ue0b7", "trailing_diamond": "\ue0b5 ", "foreground": "p:mountain-meadow", "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }} {{ if .Venv }}{{ .Venv }}{{ end }}{{ end }}" }, { "type": "root", "style": "plain", "foreground": "p:red", "template": "\uf490 " }, { "type": "text", "style": "plain", "foreground": "p:white", "foreground_templates": [ "{{ if eq .OS \"windows\"}}p:windows-blue{{ end }}", "{{ if eq .OS \"ubuntu\"}}p:ubuntu-orange{{ end }}" ], "template": "\udb81\udc8a" } ], "type": "prompt" } ], "console_title_template": "{{.UserName}}{{if .Root}}(Admin){{end}} | {{.Folder}} | {{ if python .Venv }}{{ python .Venv }}{{ end }}", "version": 2 }