dotfiles/config/.config/starship.toml

114 lines
2.0 KiB
TOML
Raw Normal View History

2023-05-18 17:04:51 +02:00
# Sets user-defined palette
palette = "catppuccin_mocha"
2022-11-24 07:10:34 +01:00
format = """$time$container$directory$all$line_break$username$hostname$character"""
right_format = """$cmd_duration $jobs $status"""
[time]
disabled = false
format = '[\[ $time \]]($style) '
time_format = "%T"
2023-05-18 17:04:51 +02:00
style = "bold peach"
2022-11-24 07:10:34 +01:00
2022-02-10 17:08:11 +01:00
[username]
2022-11-24 07:10:34 +01:00
format = "[$user]($style)@"
2023-05-18 17:04:51 +02:00
style_user = "red"
2022-02-10 17:08:11 +01:00
style_root = "bold red"
show_always = true
# Second param
[hostname]
2022-11-24 07:10:34 +01:00
format = "[$hostname]($style)"
2023-05-18 17:04:51 +02:00
style = "lavender"
2022-11-24 07:10:34 +01:00
trim_at = ".local"
2022-02-10 17:08:11 +01:00
ssh_only = false
disabled = false
# Third param
[directory]
2023-05-18 17:04:51 +02:00
style = "subtext0"
2022-11-24 07:10:34 +01:00
truncation_length = 8
2022-02-10 17:08:11 +01:00
truncate_to_repo = true
truncation_symbol = "repo: "
# Before all the version info (python, nodejs, php, etc.)
[git_status]
2023-05-18 17:04:51 +02:00
style = "text"
2022-02-10 17:08:11 +01:00
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
deleted = "x"
2022-07-07 18:32:27 +02:00
[container]
2023-05-18 17:04:51 +02:00
style = "bold pink"
2022-11-24 07:10:34 +01:00
format = "[$symbol \\[ $name \\]]($style) "
2022-07-07 18:32:27 +02:00
2022-02-10 17:08:11 +01:00
# Last param in the first line/row
[cmd_duration]
min_time = 1
2023-05-18 17:04:51 +02:00
style = "yellow"
2022-11-24 07:10:34 +01:00
format = "duration: [$duration]($style)"
2022-02-10 17:08:11 +01:00
disabled = false
# Prompt: param 2
[character]
2022-07-07 18:32:27 +02:00
format = "$symbol "
2023-05-18 17:04:51 +02:00
success_symbol = ' [%](teal)'
error_symbol = ' [%](red)'
vicmd_symbol = " [<](teal)"
2022-02-10 17:08:11 +01:00
# SYMBOLS
[status]
2022-11-24 07:10:34 +01:00
format = 'exit status: [$status_common_meaning$status_signal_name$status]($style)'
2022-02-10 17:08:11 +01:00
disabled = false
2023-05-18 17:04:51 +02:00
style = "bold red"
2022-02-10 17:08:11 +01:00
[docker_context]
symbol = " "
[git_branch]
symbol = " "
[golang]
symbol = " "
[nodejs]
symbol = " "
[package]
symbol = " "
[python]
symbol = " "
[rust]
symbol = " "
2023-05-18 17:04:51 +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"