From 04745d99d99a813f022e8bbd146c71a1d0e34e45 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Fri, 11 Aug 2023 19:15:36 -0700 Subject: [PATCH] omposh --- oh-my-posh/catpuccin.omp.json | 88 +++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 oh-my-posh/catpuccin.omp.json diff --git a/oh-my-posh/catpuccin.omp.json b/oh-my-posh/catpuccin.omp.json new file mode 100644 index 0000000..b589482 --- /dev/null +++ b/oh-my-posh/catpuccin.omp.json @@ -0,0 +1,88 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "palette": { + "os": "#ACB0BE", + "pink": "#F5BDE6", + "lavender": "#B7BDF8", + "blue": "#8AADF4", + "wight": "#FFFFFF", + "text": "#494D64" + }, + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "p:blue", + "foreground": "p:wight", + "powerline_symbol": "\ue0b4", + "leading_diamond": "\ue0b6", + "style": "diamond", + "template": "{{.Icon}} ", + "type": "os" + }, + { + "background": "p:blue", + "foreground": "p:text", + "powerline_symbol": "\ue0b4", + "style": "diamond", + "template": "{{ .UserName }}@{{ .HostName }}", + "type": "session" + }, + { + "background": "p:pink", + "foreground": "p:text", + "properties": { + "folder_icon": "..\ue5fe..", + "home_icon": "~", + "style": "folder" + }, + "powerline_symbol": "\ue0b4", + "style": "powerline", + "template": " {{ .Path }}", + "type": "path" + }, + { + "background": "p:lavender", + "foreground": "p:text", + "style": "powerline", + "properties": { + "branch_icon": "\ue725 ", + "cherry_pick_icon": "\ue29b ", + "commit_icon": "\uf417 ", + "fetch_status": true, + "fetch_upstream_icon": true, + "merge_icon": "\ue727 ", + "no_commits_icon": "\uf0c3 ", + "rebase_icon": "\ue728 ", + "revert_icon": "\uf0e2 ", + "tag_icon": "\uf412 " + }, + "background_templates": [ + "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", + "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}", + "{{ if gt .Ahead 0 }}#B388FF{{ end }}", + "{{ if gt .Behind 0 }}#B388FB{{ end }}" + ], + "powerline_symbol": "\ue0b4", + "template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}", + "type": "git" + }, + { + "background": "p:blue", + "foreground": "p:text", + "style": "powerline", + "powerline_symbol": "", + "properties": { + "display_mode": "context" + }, + "template": "  {{ if .Venv }}{{ .Venv }}{{ else }}{{ .Full }}{{ end }} ", + "type": "python" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +}