From a19863c2a58c0c41dbf68b18b6c2111dc1bf66c3 Mon Sep 17 00:00:00 2001 From: Anthony Oteri Date: Mon, 30 Oct 2023 16:27:42 -0400 Subject: [PATCH] Update starship prompt --- .config/starship.toml | 230 +++++++++++++++++++++++++++++++++--------- 1 file changed, 185 insertions(+), 45 deletions(-) diff --git a/.config/starship.toml b/.config/starship.toml index 08364f7..510625c 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -1,31 +1,38 @@ -## FIRST LINE/ROW: Info & Status -# First param ─┌ -[username] -format = " [╭─$user]($style)@" -show_always = true -style_root = "bold red" -style_user = "bold red" +"$schema" = 'https://starship.rs/config-schema.json' +palette = "catppuccin_mocha" +add_newline = true + +[username] +format = "[$user]($style)@" +show_always = true +style_root = "bold green" +style_user = "bold green" + +[os] +disabled = true -# Second param [hostname] disabled = false -format = "[$hostname]($style) in " ssh_only = false -style = "bold dimmed red" trim_at = "-" +ssh_symbol = "🌐 " -# Third param [directory] -style = "purple" truncate_to_repo = true 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] disabled = false -# Before all the version info (python, nodejs, php, etc.) [git_status] ahead = "⇡${count}" behind = "⇣${count}" @@ -33,52 +40,30 @@ deleted = "x" diverged = "⇕⇡${ahead_count}⇣${behind_count}" style = "white" -# Last param in the first line/row [cmd_duration] disabled = false 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] disabled = true format = " 🕙 $time($style)\n" style = "bright-white" time_format = "%T" -# Prompt: param 2 +[line_break] +disabled = false + [character] -error_symbol = " [×](bold red)" -success_symbol = " [╰─λ](bold red)" +error_symbol = "[×](bold red)" +success_symbol = "[❯](bold green)" # SYMBOLS [status] disabled = false -format = '[\[$symbol$status_common_meaning$status_signal_name$status_maybe_int\]]($style)' map_symbol = true pipestatus = true symbol = "🔮" @@ -126,6 +111,7 @@ symbol = " " symbol = " " [package] +disabled = true symbol = "ïŁ– " [perl] @@ -146,3 +132,157 @@ symbol = " " [swift] 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"