This commit is contained in:
2025-06-26 12:55:17 -07:00
parent 619c164096
commit ccb15a9a4a
3 changed files with 63 additions and 40 deletions

View File

@@ -26,19 +26,19 @@ success_symbol = "[](green bold)"
error_symbol = "[](pink)"
[directory]
format = "[]($style)[󱙴 $path](bg:base fg:lavender bold)[ ]($style)"
style = "bg:none fg:base"
style = "bg:none fg:{{colors.outline_variant.default.hex}}"
format = "[]($style)[󱗆 $path](bg:{{colors.outline_variant.default.hex}} fg:{{colors.primary.default.hex}})[ ]($style)"
truncation_length = 3
truncate_to_repo=false
[git_branch]
format = "[]($style)[[ ](bg:base fg:green bold)$branch](bg:base fg:lavender)[ ]($style)"
style = "bg:none fg:base"
style = "bg:none fg:{{colors.outline_variant.default.hex}}"
format = "[]($style)[[ ](bg:{{colors.outline_variant.default.hex}} fg:{{colors.primary.default.hex}})$branch](bg:{{colors.outline_variant.default.hex}} fg:{{colors.primary.default.hex}})[ ]($style)"
[git_status]
# $all status$ahead_behind
format = "[]($style)[$all_status$ahead_behind](bg:base fg:yellow)[ ]($style)"
style = "bg:none fg:base"
style = "bg:none fg:{{colors.outline_variant.default.hex}}"
format = "[]($style)[$all_status$ahead_behind](bg:{{colors.outline_variant.default.hex}} fg:{{colors.primary.default.hex}})[ ]($style)"
conflicted = "="
ahead = "⇡${count}"
behind = "⇣${count}"
@@ -54,14 +54,9 @@ deleted = "${count}"
[cmd_duration]
min_time = 1
# duration & style
format = "[]($style)[$duration](bg:base fg:text)[ ]($style)"
style = "bg:none fg:{{colors.outline_variant.default.hex}}"
format = "[]($style)[$duration](bg:{{colors.outline_variant.default.hex}} fg:{{colors.primary.default.hex}})[]($style)"
disabled = false
style = "bg:none fg:base"
[sudo]
format = "[]($style)[$symbol](bg:base fg:text)[ ]($style)"
style = 'bg:none fg:base'
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
@@ -90,4 +85,3 @@ surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"