dotfiles/config/.config/starship.toml

116 lines
2.2 KiB
TOML
Raw Normal View History

2024-10-26 20:30:45 +02:00
"$schema" = 'https://starship.rs/config-schema.json'
2023-09-15 22:59:26 +02:00
2024-10-26 20:30:45 +02:00
## PROMPT FORMAT
format = """$time$container$directory$all$cmd_duration$jobs$status$line_break$username$hostname$character"""
2023-09-15 22:59:26 +02:00
2024-10-26 20:30:45 +02:00
# # PALETTE
palette = 'catppuccin_mocha'
2023-09-15 22:59:26 +02:00
2024-10-26 20:30:45 +02:00
[palettes.catppuccin_mocha]
rosewater = '#f5e0dc'
flamingo = '#f2cdcd'
pink = '#f5c2e7'
mauve = '#cba6f7'
red = '#f38ba8'
maroon = '#eba0ac'
peach = '#fab387'
yellow = '#f9e2af'
green = '#a6e3a1'
teal = '#94e2d5'
sky = '#89dceb'
sapphire = '#74c7ec'
blue = '#89b4fa'
lavender = '#b4befe'
text = '#cdd6f4'
subtext1 = '#bac2de'
subtext0 = '#a6adc8'
overlay2 = '#9399b2'
overlay1 = '#7f849c'
overlay0 = '#6c7086'
surface2 = '#585b70'
surface1 = '#45475a'
surface0 = '#313244'
base = '#1e1e2e'
mantle = '#181825'
crust = '#11111b'
## LEFT SIDE - FIRST LINE
[time]
2023-09-15 22:59:26 +02:00
disabled = false
2024-10-26 20:30:45 +02:00
format = '[$time]($style) '
time_format = '%T'
style = 'bold peach'
2023-09-15 22:59:26 +02:00
[directory]
2024-10-26 20:30:45 +02:00
style = 'subtext0'
2023-09-15 22:59:26 +02:00
truncation_length = 8
truncate_to_repo = true
2024-10-26 20:30:45 +02:00
truncation_symbol = 'repo: '
2023-09-15 22:59:26 +02:00
[docker_context]
2024-10-26 20:30:45 +02:00
symbol = 'docker: '
format = '[$symbol$context]($style)'
2023-09-15 22:59:26 +02:00
[git_branch]
2024-10-26 20:30:45 +02:00
symbol = ' '
[git_status]
style = 'text'
ahead = '⇡${count}'
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
behind = '⇣${count}'
deleted = 'x'
2023-09-15 22:59:26 +02:00
[golang]
2024-10-26 20:30:45 +02:00
symbol = 'go: '
format = '[$symbol($version )($style)'
2023-09-15 22:59:26 +02:00
2024-10-26 20:30:45 +02:00
[nix_shell]
symbol = 'nix: '
format = '[$symbol$state(\($name\))]($style)'
2023-09-15 22:59:26 +02:00
2024-10-26 20:30:45 +02:00
[nodejs]
symbol = 'node: '
format = '[$symbol($version)]($style)'
2023-09-15 22:59:26 +02:00
[python]
2024-10-26 20:30:45 +02:00
symbol = 'py: '
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
2023-09-15 22:59:26 +02:00
[rust]
2024-10-26 20:30:45 +02:00
symbol = 'rust: '
format = '[$symbol($version)]($style)'
2023-09-15 22:59:26 +02:00
2024-10-26 20:30:45 +02:00
[cmd_duration]
min_time = 1
style = 'yellow'
format = 'duration: [$duration]($style) '
disabled = false
[status]
format = 'exit status: [$status = $common_meaning]($style) '
disabled = false
style = 'bold red'
recognize_signal_code = true
map_symbol = true
## LEFT SIDE - SECOND LINE
[username]
format = '[$user]($style)@'
style_user = 'red'
style_root = 'bold red'
show_always = true
[hostname]
format = '[$hostname]($style)'
style = 'lavender'
trim_at = '.local'
ssh_only = false
disabled = false
[character]
format = ' [$symbol]($style) '
success_symbol = '[➜](bold teal)'
error_symbol = '[➜](bold red)'
vimcmd_symbol = '[V](bold green)'