161 lines
3.0 KiB
TOML
161 lines
3.0 KiB
TOML
"$schema" = 'https://starship.rs/config-schema.json'
|
|
|
|
#
|
|
# Settings
|
|
#
|
|
|
|
palette = "catppuccin_mocha"
|
|
format = """
|
|
$username$hostname$kubernetes\
|
|
$terraform$nodejs$ruby$rust$python[\uE0B0](base bg:mantle)\
|
|
$git_branch$git_state$git_status[\uE0B4](mantle)
|
|
$directory$character
|
|
"""
|
|
right_format = """$time"""
|
|
|
|
[character]
|
|
format = "$symbol"
|
|
success_symbol = '[\$](bold white)'
|
|
error_symbol = "[✗](bold red)"
|
|
|
|
[directory]
|
|
style = "blue"
|
|
truncate_to_repo = false
|
|
truncation_length = 6
|
|
truncation_symbol = "…/"
|
|
|
|
[git_branch]
|
|
symbol = ""
|
|
style = "lavender bg:mantle"
|
|
format = "[ $symbol $branch(:$remote_branch) ]($style)"
|
|
|
|
[git_state]
|
|
style = "pink bg:mantle"
|
|
format = '[\([$state( $progress_current/$progress_total)]($style)\) ](bg:mantle)'
|
|
|
|
[git_status]
|
|
style = "flamingo bg:mantle"
|
|
modified = ""
|
|
staged = ""
|
|
ahead = ""
|
|
behind = ""
|
|
diverged = ""
|
|
format = '[([$all_status$ahead_behind]($style) )](bg:mantle)'
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
style = "base bg:yellow"
|
|
format = """
|
|
[ $hostname]($style)\
|
|
[\uE0B4](yellow bg:surface0)\
|
|
"""
|
|
|
|
[kubernetes]
|
|
disabled = false
|
|
symbol = " "
|
|
style = "sky bg:surface0"
|
|
format = """
|
|
[ $symbol$context(\\($namespace\\)) ]($style)\
|
|
[\uE0B0](surface0 bg:base)"""
|
|
|
|
[nodejs]
|
|
symbol = ""
|
|
style = "teal bg:base"
|
|
format = "[ $symbol ($version) ]($style)"
|
|
|
|
[python]
|
|
symbol = ""
|
|
style = "yellow bg:base"
|
|
format = '[ ${symbol} ${pyenv_prefix}(${version})(\($virtualenv\)) ]($style)'
|
|
|
|
[ruby]
|
|
symbol = ""
|
|
style = "maroon bg:base"
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
[rust]
|
|
symbol = ""
|
|
style = "peach bg:base"
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
[terraform]
|
|
symbol = ""
|
|
style = "mauve bg:base"
|
|
format = '[ $symbol $workspace ]($style)'
|
|
detect_extensions = ["hcl", "tf", "tfplan", "tfstate"]
|
|
|
|
[time]
|
|
disabled = false
|
|
use_12hr = true
|
|
format = "[\uE0B6](base)[$time ]($style)[\uE0B4](base)"
|
|
style = "subtext0 bg:base"
|
|
|
|
[username]
|
|
show_always = true
|
|
style_user = "base bg:green"
|
|
format = """
|
|
[\uE0B6](green)\
|
|
[ $user ]($style)\
|
|
[\uE0B0](green bg:yellow)\
|
|
"""
|
|
|
|
#
|
|
# Palettes
|
|
#
|
|
|
|
[palettes.catppuccin_latte]
|
|
rosewater = "#dc8a78"
|
|
flamingo = "#dd7878"
|
|
pink = "#ea76cb"
|
|
mauve = "#8839ef"
|
|
red = "#d20f39"
|
|
maroon = "#e64553"
|
|
peach = "#fe640b"
|
|
yellow = "#df8e1d"
|
|
green = "#40a02b"
|
|
teal = "#179299"
|
|
sky = "#04a5e5"
|
|
sapphire = "#209fb5"
|
|
blue = "#1e66f5"
|
|
lavender = "#7287fd"
|
|
text = "#4c4f69"
|
|
subtext1 = "#5c5f77"
|
|
subtext0 = "#6c6f85"
|
|
overlay2 = "#7c7f93"
|
|
overlay1 = "#8c8fa1"
|
|
overlay0 = "#9ca0b0"
|
|
surface2 = "#acb0be"
|
|
surface1 = "#bcc0cc"
|
|
surface0 = "#ccd0da"
|
|
base = "#eff1f5"
|
|
mantle = "#e6e9ef"
|
|
crust = "#dce0e8"
|
|
|
|
[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"
|