This commit is contained in:
sneakers-the-rat 2023-08-11 19:15:36 -07:00
parent 087286592c
commit 04745d99d9
1 changed files with 88 additions and 0 deletions

View File

@ -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
}