custom-hypr - add yazi config
This commit is contained in:
@@ -2,91 +2,116 @@
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "#003543",
|
||||
"foreground": "#00c983",
|
||||
"properties": {
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"leading_diamond": "\ue0b6",
|
||||
"style": "diamond",
|
||||
"template": " <>\uebd8 \ueb27 \ue62c \ue62f</> {{ .Icon }} {{ .UserName }} ",
|
||||
"type": "os"
|
||||
"template": " {{ .Icon }} {{ .UserName }} ",
|
||||
"foreground": "#00c983",
|
||||
"background": "#003543",
|
||||
"type": "os",
|
||||
"style": "diamond"
|
||||
},
|
||||
{
|
||||
"background": "#DA627D",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"cache_duration": "none",
|
||||
"folder_icon": "\uf115",
|
||||
"folder_separator_icon": "\\",
|
||||
"home_icon": "",
|
||||
"style": "full"
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .Path }}",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#FCA17D",
|
||||
"template": " {{ .Path }} ",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"background": "#DA627D",
|
||||
"type": "path",
|
||||
"style": "powerline"
|
||||
},
|
||||
{
|
||||
"type": "python",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#100e23",
|
||||
"background": "#906cff",
|
||||
"template": " \uE235 {{ .Full }} {{ if .Venv }}{{ .Venv }}{{ end }} ",
|
||||
"properties": {
|
||||
"fetch_virtual_env": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"branch_icon": " <#ffffff>\udb80\udea2 </>",
|
||||
"cache_duration": "none",
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"template": "{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#76b367",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"style": "powerline",
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"type": "node"
|
||||
"background": "#FCA17D",
|
||||
"type": "git",
|
||||
"style": "powerline"
|
||||
},
|
||||
|
||||
{
|
||||
"properties": {
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"background": "#76b367",
|
||||
"type": "node",
|
||||
"style": "powerline"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"trailing_diamond": "\ue0b4 \ue748 ",
|
||||
"template": " {{ if gt .Code 0 }}\uf421{{ else }}\ueacd{{ end }} ",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"background": "#2e9599",
|
||||
"type": "status",
|
||||
"style": "diamond",
|
||||
"background_templates": [
|
||||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
],
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ if gt .Code 0 }}\uf421{{ else }}\ue761 \ue77a{{ end }} ",
|
||||
"trailing_diamond": "\ue0b4 \ue748 ",
|
||||
"type": "status"
|
||||
]
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#cd5e42",
|
||||
"style": "plain",
|
||||
"properties": {
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": "\ue3bf ",
|
||||
"type": "root"
|
||||
"foreground": "#cd5e42",
|
||||
"type": "root",
|
||||
"style": "plain"
|
||||
},
|
||||
{
|
||||
"foreground": "#CD4277",
|
||||
"style": "plain",
|
||||
"properties": {
|
||||
"cache_duration": "none"
|
||||
},
|
||||
"template": " <#45F1C2> \uf20f \ued33 \ue648 \uf373 \uf35c |<#26C6DA>\uf0a4</>",
|
||||
"type": "text"
|
||||
"foreground": "#CD4277",
|
||||
"type": "text",
|
||||
"style": "plain"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
"newline": true
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 2
|
||||
"version": 3,
|
||||
"final_space": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user