dotfiles/private_dot_config/starship.toml.tmpl
2025-06-09 17:34:05 +02:00

133 lines
2.8 KiB
Cheetah

format = """
[░▒▓](#a3aed2)\
[${custom.category}$username@$hostname${custom.os}](bg:#a3aed2 fg:#090c0c)\
[](bg:#769ff0 fg:#a3aed2)\
$directory\
[](fg:#769ff0 bg:#394260)\
$git_branch\
$git_status\
[](fg:#394260 bg:#212736)\
$nodejs\
$rust\
$golang\
$gradle\
$php\
$java\
$kubernetes\
[](fg:#212736 bg:#1d2230)\
$time\
[ ](fg:#1d2230)\
$battery \
\n$character"""
[os]
disabled = false
format = '[$symbol]($style)[$name $edition $version]($style) '
style = "bg:#a3aed2 fg:#090c0c"
[username]
disabled = false
format = "[$user]($style)"
style_user = "bg:#a3aed2 fg:#090c0c"
[hostname]
ssh_only = false
format = '[$hostname]($style)'
disabled = false
style = "bg:#a3aed2 fg:#090c0c"
[directory]
style = "fg:#090c0c bg:#769ff0"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
[git_branch]
symbol = ""
style = "bg:#394260"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
[git_status]
style = "bg:#394260"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
[nodejs]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[rust]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[golang]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[php]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'
[java]
style = "bg:#212736"
format = '[[ $symbol($version)](fg:#769ff0 bg:#212736)]($style)'
[gradle]
style = "fg:#769ff0 bg:#212736"
format = '[[ $symbol($version)](fg:#769ff0 bg:#212736)]($style)'
[kubernetes]
style = "fg:#769ff0 bg:#212736"
format = '[[ $symbol $context \($namespace\)](fg:#769ff0 bg:#212736)]($style)'
disabled = false
[battery]
#full_symbol = '🔋 '
#charging_symbol = '⚡️ '
#discharging_symbol = '💀 '
#style = "bg:#1d2230"
#format = '[[$symbol$percentage](bg:#1d2230)]($style) '
[[battery.display]]
threshold = 30
style = 'bold red'
[[battery.display]]
threshold = 50
style = 'bold yellow'
[[battery.display]]
threshold = 80
style = 'bold green'
[custom.category]
command = 'echo "[{{ .bash.prompt.category }}]"'
when = true
format = "[$output]($style)"
style = "bg:#a3aed2 fg:#090c0c bold"
[custom.os]
{{ if eq .chezmoi.os "linux" }}
command = 'echo "{{ .chezmoi.osRelease.prettyName }}"'
{{ else if eq .chezmoi.os "windows" }}
command = 'echo "{{ .chezmoi.windowsVersion.productName }}"'
{{ end }}
when = true
format = "[$output]($style)"
style = "bg:#a3aed2 fg:#090c0c"