custom-hypr - add yazi config

This commit is contained in:
huyjaky
2025-03-08 21:24:58 +07:00
parent ad65845811
commit cefa13dd6d
30 changed files with 3475 additions and 46 deletions

117
.config/montys.omp_1.json Normal file
View File

@@ -0,0 +1,117 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"leading_diamond": "\ue0b6",
"template": " {{ .Icon }} {{ .UserName }} ",
"foreground": "#00c983",
"background": "#003543",
"type": "os",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"folder_icon": "\uf115",
"folder_separator_icon": "\\",
"home_icon": "",
"style": "full"
},
"template": " \udb80\ude4b {{ .Path }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"background": "#DA627D",
"type": "path",
"style": "powerline"
},
{
"properties": {
"branch_icon": " <#ffffff>\udb80\udea2 </>",
"cache_duration": "none",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true
},
"template": "{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"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"
},
{
"type": "python",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#100e23",
"background": "#906cff",
"template": " \uE235 {{ .Full }} {{ if .Venv }}{{ .Venv }}{{ end }} ",
"properties": {
"fetch_virtual_env": true
}
},
{
"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 }}"
]
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": "\ue3bf ",
"foreground": "#cd5e42",
"type": "root",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": " <#45F1C2> \uf20f \ued33 \ue648 \uf373 \uf35c |<#26C6DA>\uf0a4</>",
"foreground": "#CD4277",
"type": "text",
"style": "plain"
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}