Update starship prompt

This commit is contained in:
Anthony Oteri
2023-10-30 16:27:42 -04:00
parent a28d44ac46
commit a19863c2a5
+184 -44
View File
@@ -1,31 +1,38 @@
## FIRST LINE/ROW: Info & Status "$schema" = 'https://starship.rs/config-schema.json'
# First param ─┌ palette = "catppuccin_mocha"
[username] add_newline = true
format = " [╭─$user]($style)@"
show_always = true [username]
style_root = "bold red" format = "[$user]($style)@"
style_user = "bold red" show_always = true
style_root = "bold green"
style_user = "bold green"
[os]
disabled = true
# Second param
[hostname] [hostname]
disabled = false disabled = false
format = "[$hostname]($style) in "
ssh_only = false ssh_only = false
style = "bold dimmed red"
trim_at = "-" trim_at = "-"
ssh_symbol = "🌐 "
# Third param
[directory] [directory]
style = "purple"
truncate_to_repo = true truncate_to_repo = true
truncation_length = 0 truncation_length = 0
truncation_symbol = "repo: " truncation_symbol = "󰳏 "
home_symbol = " "
format = '[$path]($style)[$read_only]($read_only_style) '
[directory.substitutions]
"Documents" = "󰈙 Documents"
"Downloads" = " Downloads"
"Music" = " Music"
"Pictures" = " Pictures"
# Fourth param
[sudo] [sudo]
disabled = false disabled = false
# Before all the version info (python, nodejs, php, etc.)
[git_status] [git_status]
ahead = "⇡${count}" ahead = "⇡${count}"
behind = "⇣${count}" behind = "⇣${count}"
@@ -33,52 +40,30 @@ deleted = "x"
diverged = "⇕⇡${ahead_count}⇣${behind_count}" diverged = "⇕⇡${ahead_count}⇣${behind_count}"
style = "white" style = "white"
# Last param in the first line/row
[cmd_duration] [cmd_duration]
disabled = false disabled = false
format = "took [$duration]($style)" format = "took [$duration]($style)"
min_time = 1 min_time = 500
[fill]
symbol = ' '
## SECOND LINE/ROW: Prompt
# Somethere at the beginning
[battery]
charging_symbol = ""
disabled = true
discharging_symbol = ""
full_symbol = ""
[[battery.display]] # "bold red" style when capacity is between 0% and 15%
disabled = false
style = "bold red"
threshold = 15
[[battery.display]] # "bold yellow" style when capacity is between 15% and 50%
disabled = true
style = "bold yellow"
threshold = 50
[[battery.display]] # "bold green" style when capacity is between 50% and 80%
disabled = true
style = "bold green"
threshold = 80
# Prompt: optional param 1
[time] [time]
disabled = true disabled = true
format = " 🕙 $time($style)\n" format = " 🕙 $time($style)\n"
style = "bright-white" style = "bright-white"
time_format = "%T" time_format = "%T"
# Prompt: param 2 [line_break]
disabled = false
[character] [character]
error_symbol = "[×](bold red)" error_symbol = "[×](bold red)"
success_symbol = " [╰─λ](bold red)" success_symbol = "[](bold green)"
# SYMBOLS # SYMBOLS
[status] [status]
disabled = false disabled = false
format = '[\[$symbol$status_common_meaning$status_signal_name$status_maybe_int\]]($style)'
map_symbol = true map_symbol = true
pipestatus = true pipestatus = true
symbol = "🔴" symbol = "🔴"
@@ -126,6 +111,7 @@ symbol = " "
symbol = " " symbol = " "
[package] [package]
disabled = true
symbol = " " symbol = " "
[perl] [perl]
@@ -146,3 +132,157 @@ symbol = " "
[swift] [swift]
symbol = "ﯣ " symbol = "ﯣ "
[os.symbols]
Alpaquita = " "
Alpine = " "
Amazon = " "
Android = " "
Arch = " "
Artix = " "
CentOS = " "
Debian = " "
DragonFly = " "
Emscripten = " "
EndeavourOS = " "
Fedora = " "
FreeBSD = " "
Garuda = "󰛓 "
Gentoo = " "
HardenedBSD = "󰞌 "
Illumos = "󰈸 "
Linux = " "
Mabox = " "
Macos = " "
Manjaro = " "
Mariner = " "
MidnightBSD = " "
Mint = " "
NetBSD = " "
NixOS = " "
OpenBSD = "󰈺 "
openSUSE = " "
OracleLinux = "󰌷 "
Pop = " "
Raspbian = " "
Redhat = " "
RedHatEnterprise = " "
Redox = "󰀘 "
Solus = "󰠳 "
SUSE = " "
Ubuntu = " "
Unknown = " "
Windows = "󰍲 "
# palette tables should be last in the config ⚓️
[palettes.catppuccin_macchiato]
rosewater = "#f4dbd6"
flamingo = "#f0c6c6"
pink = "#f5bde6"
mauve = "#c6a0f6"
red = "#ed8796"
maroon = "#ee99a0"
peach = "#f5a97f"
yellow = "#eed49f"
green = "#a6da95"
teal = "#8bd5ca"
sky = "#91d7e3"
sapphire = "#7dc4e4"
blue = "#8aadf4"
lavender = "#b7bdf8"
text = "#cad3f5"
subtext1 = "#b8c0e0"
subtext0 = "#a5adcb"
overlay2 = "#939ab7"
overlay1 = "#8087a2"
overlay0 = "#6e738d"
surface2 = "#5b6078"
surface1 = "#494d64"
surface0 = "#363a4f"
base = "#24273a"
mantle = "#1e2030"
crust = "#181926"
[palettes.catppuccin_frappe]
rosewater = "#f2d5cf"
flamingo = "#eebebe"
pink = "#f4b8e4"
mauve = "#ca9ee6"
red = "#e78284"
maroon = "#ea999c"
peach = "#ef9f76"
yellow = "#e5c890"
green = "#a6d189"
teal = "#81c8be"
sky = "#99d1db"
sapphire = "#85c1dc"
blue = "#8caaee"
lavender = "#babbf1"
text = "#c6d0f5"
subtext1 = "#b5bfe2"
subtext0 = "#a5adce"
overlay2 = "#949cbb"
overlay1 = "#838ba7"
overlay0 = "#737994"
surface2 = "#626880"
surface1 = "#51576d"
surface0 = "#414559"
base = "#303446"
mantle = "#292c3c"
crust = "#232634"
[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"