{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "foreground": "#FFE082", "properties": { "template": "@{{ .UserName }} \u279c" }, "style": "plain", "type": "session" }, { "foreground": "#56B6C2", "properties": { "style": "agnoster_short", "template": " {{ .Path }} " }, "style": "plain", "type": "path" }, { "foreground": "#7FD5EA", "properties": { "template": "(\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}) " }, "style": "powerline", "type": "go" }, { "foreground": "#9e7eff", "properties": { "template": "(\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}) " }, "style": "powerline", "type": "python" }, { "foreground": "#56B6C2", "properties": { "branch_icon": "", "template": "<#E8CC97>git({{ .HEAD }}<#E8CC97>) " }, "style": "plain", "type": "git" }, { "foreground": "#FFAB91", "properties": { "always_enabled": false, "style": "austin", "template": "{{{ .FormattedMs }}}", "threshold": 100 }, "style": "powerline", "type": "executiontime" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "foreground": "#193549", "foreground_templates": [ "{{if eq \"Charging\" .State.String}}#64B5F6{{end}}", "{{if eq \"Discharging\" .State.String}}#E36464{{end}}", "{{if eq \"Full\" .State.String}}#66BB6A{{end}}" ], "properties": { "charged_icon": "\ue22f ", "charging_icon": "\ue234 ", "discharging_icon": "\ue231 ", "template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]" }, "style": "powerline", "type": "battery" } ], "type": "prompt" } ], "final_space": true, "version": 1 }