{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "console_title_template": "{{ .Folder }}", "blocks": [ { "type": "prompt", "alignment": "left", "segments": [ { "type": "text", "style": "powerline", "powerline_symbol": "\ue0b0", "foreground": "#ffffff", "background": "#3A3A3A", "template": " {{ if eq .Env.POETRY_ACTIVE \"1\" }} poetry {{ end }}" }, { "properties": { "style": "full" }, "template": " {{ .Path }} ", "foreground": "#282828", "powerline_symbol": "\ue0b0", "background": "#458588", "type": "path", "style": "powerline" }, { "properties": { "branch_icon": "\ue0a0 ", "branch_identical_icon": "\u25cf", "branch_template": "{{ trunc 25 .Branch }}", "fetch_stash_count": true, "fetch_status": true }, "leading_diamond": "\ue0b6", "trailing_diamond": "\ue0b4", "template": " {{ .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 }} ", "foreground": "#282828", "powerline_symbol": "\ue0b0", "background": "#98971A", "type": "git", "style": "powerline", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}", "{{ if gt .Ahead 0 }}#B388FF{{ end }}", "{{ if gt .Behind 0 }}#B388FF{{ end }}" ] }, { "properties": { "fetch_version": true }, "template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", "foreground": "#111111", "powerline_symbol": "\ue0b0", "background": "#8ED1F7", "type": "go", "style": "powerline" }, { "properties": { "fetch_version": true }, "template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", "foreground": "#111111", "powerline_symbol": "\ue0b0", "background": "#4063D8", "type": "julia", "style": "powerline" }, { "properties": { "display_mode": "files", "fetch_virtual_env": false }, "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", "foreground": "#111111", "powerline_symbol": "\ue0b0", "background": "#FFDE57", "type": "python", "style": "powerline" }, { "properties": { "display_mode": "files", "fetch_version": true }, "template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "background": "#AE1401", "type": "ruby", "style": "powerline" }, { "properties": { "display_mode": "files", "fetch_version": false }, "template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "background": "#FEAC19", "type": "azfunc", "style": "powerline" }, { "properties": { "display_default": false }, "template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "type": "aws", "style": "powerline", "background_templates": [ "{{if contains \"default\" .Profile}}#FFA400{{end}}", "{{if contains \"jan\" .Profile}}#f1184c{{end}}" ] }, { "template": " \uf0ad ", "foreground": "#111111", "powerline_symbol": "\ue0b0", "background": "#ffff66", "type": "root", "style": "powerline" } ] }, { "type": "prompt", "alignment": "right", "segments": [ { "properties": { "style": "dallas", "threshold": 0 }, "leading_diamond": "\ue0c5", "template": "\ueba2 {{ .FormattedMs }}s ", "foreground": "#ffffff", "background": "#29315A", "type": "executiontime", "style": "diamond" }, { "properties": { "time_format": "15:04:05 | Monday" }, "template": " \ue0ba\ue0bc {{ .CurrentDate | date .Format }} ", "foreground": "#3EC669", "background": "#29315A", "type": "time", "style": "plain" } ] }, { "alignment": "left", "newline": true, "segments": [ { "foreground": "#ffffff", "foreground_templates": [ "{{ if gt .Code 0 }}#ff0000{{ end }}" ], "properties": { "always_enabled": true }, "style": "plain", "template": "\u276f", "type": "status" } ], "type": "prompt" } ], "version": 3, "final_space": true }