diff --git a/.omp.json b/.omp.json new file mode 100644 index 0000000..c811ad5 --- /dev/null +++ b/.omp.json @@ -0,0 +1,60 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "p:tertiary", + "background_templates": [ + "{{ if .Root }}#FF0000{{ end }}" + ], + "foreground": "p:tertiary_font", + "style": "plain", + "template": " {{ .UserName }} {{ if .Root }}<#FF0000,p:secondary>{{ else }}{{ end }}", + "type": "session" + }, + { + "foreground": "p:secondary_font", + "background": "p:secondary", + "properties": { + "style": "full" + }, + "style": "plain", + "template": " {{ .Path }} ", + "type": "path" + }, + { + "foreground": "p:tertiary_font", + "background": "p:tertiary", + "style": "plain", + "template": " {{ .HEAD }} ", + "type": "git" + }, + { + "foreground": "p:accent", + "background": "transparent", + "foreground_templates": [ + "{{ if gt .Code 0 }}red{{ end }}" + ], + "properties": { + "always_enabled": true + }, + "style": "plain", + "template": " ", + "type": "exit" + } + ], + "type": "prompt" + } + ], + "version": 2, + "palette": { + "accent": "#0ca8fb", + "secondary": "#011f2a", + "tertiary": "#0f63bd", + "accent_font": "#000000", + "secondary_font": "#FFFFFF", + "tertiary_font": "#FFFFFF" + } +} \ No newline at end of file