ktns-dotfiles-2025/starship.toml

101 lines
1.8 KiB
TOML
Raw Permalink Normal View History

2025-08-30 21:45:51 +00:00
format = """
[](dimmed black) $time [](dimmed black)[](dimmed black)$memory_usage[](dimmed black)$rust$git_branch[](dimmed black) $custom$shell$battery
[](dimmed black) $username$hostname$sudo$directory$np
[ ](dimmed black)$character"""
command_timeout = 1000
[character]
success_symbol = "[$status> ](bold green)"
error_symbol = "[$status>!](red)"
[battery]
discharging_symbol = "BAT "
[[battery.display]]
threshold = 30
style = 'bold red'
[hostname]
format = "[|$hostname]($style)"
style = "dimmed purple"
trim_at = ""
ssh_only = false
[sudo]
style = "bold green"
format = "[$symbol]($style)"
symbol = " # "
disabled = false
[time]
disabled = false
format = '[$time]($style)'
style = "bold blue"
time_format = '%l:%M%P'
[username]
style_user = "grey"
style_root = "dimmed white"
format = "[$user]($style)"
disabled = false
show_always = true
[directory]
style = "cyan"
truncation_length = 80
truncation_symbol = "… /"
format = '[\[$path\]]($style)'
[shell]
bash_indicator = ""
nu_indicator = "ﳞ"
style = "dimmed yellow"
disabled = false
[memory_usage]
format = '\[RAM [${ram_pct}]($style)\]'
threshold = 75
style = "red"
disabled = false
[fill]
symbol = "═"
style = "dimmed black"
[git_branch]
format = '[$symbol$branch]($style)'
[rust]
format = "[ ](red)"
[cmd_duration]
disabled = true
[status]
disabled = false
[custom.term]
command = "echo $TERM"
when = """
test "$TERM" = "xterm-256color"
"""
symbol = ""
#[custom.np]
#description = "Now Playing"
#command = "np -n"
#when = "pgrep -x clementine"
#[custom.xbps]
#description = "Number of available updates"
#command = "xbps"
#when = ""
#symbol = ""
#[custom.fuck]
#when = """
#[ test $STARSHIP_CMD_STATUS != 0] && [fuck 'history -n +1']
#"""
#ignore_timeout = false
#symbol = ""