Created
January 6, 2023 07:34
-
-
Save jo12bar/06db22a0269b60b231aa510fd8f1aa7c to your computer and use it in GitHub Desktop.
My current starship.rs configuration file (which should probably be put into my dotfiles at some point but I need to redo that entire thing so meh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"$schema" = 'https://starship.rs/config-schema.json' | |
format = """ | |
[╭](fg:surface1)[](bg:surface1 fg:surface2)\ | |
[](bg:surface2 fg:mauve)\ | |
$os\ | |
$username\ | |
$hostname\ | |
[](bg:surface2 fg:mauve)\ | |
[ ](bg:surface2 fg:maroon)\ | |
$directory\ | |
[](bg:surface2 fg:maroon)\ | |
([ ](bg:surface2 fg:peach)\ | |
$git_branch\ | |
$git_status\ | |
[](bg:surface2 fg:peach))\ | |
([ ](bg:surface2 fg:teal)\ | |
$c\ | |
$elixir\ | |
$elm\ | |
$golang\ | |
$haskell\ | |
$java\ | |
$julia\ | |
$nodejs\ | |
$nim\ | |
$rust\ | |
$scala\ | |
[](bg:surface2 fg:teal))\ | |
([ ](bg:surface2 fg:sapphire)\ | |
$docker_context\ | |
[](bg:surface2 fg:sapphire))\ | |
[](bg:surface1 fg:surface2)[](fg:surface1)\ | |
$fill\ | |
( $battery )\ | |
([](yellow)\ | |
$cmd_duration\ | |
[](yellow))\ | |
$line_break\ | |
[╰](surface1)$character\ | |
""" | |
add_newline = true | |
palette = "catppuccin_macchiato" | |
[os] | |
style = "bg:mauve fg:surface1" | |
disabled = false # Disabled by default | |
[username] | |
style_user = "bg:mauve fg:surface1" | |
style_root = "bg:mauve fg:bold surface1" | |
format = '[$user ]($style)' | |
disabled = false | |
[hostname] | |
ssh_only = true | |
style = "bg:mauve" | |
format = "[on [$ssh_symbol$hostname]($style bold)]($style)" | |
[directory] | |
style = "bg:maroon fg:bold surface1" | |
format = "[ $path ]($style)" | |
truncation_length = 3 | |
truncation_symbol = "…/" | |
[directory.substitutions] | |
"Documents" = " " | |
"Downloads" = " " | |
"Music" = " " | |
"Pictures" = " " | |
"Code" = "" | |
"code" = "" | |
"Coding" = "" | |
"coding" = "" | |
[git_branch] | |
symbol = "" | |
style = "bg:peach fg:surface1" | |
format = '[ $symbol $branch ]($style)' | |
[git_status] | |
style = "bg:peach" | |
format = '[$all_status$ahead_behind ]($style)' | |
[c] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[elixir] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[elm] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[golang] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[haskell] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[java] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[julia] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[nodejs] | |
symbol = "" | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[nim] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[rust] | |
symbol = "" | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[scala] | |
symbol = " " | |
style = "bg:teal fg:surface1" | |
format = '[ $symbol ($version) ]($style)' | |
[docker_context] | |
symbol = " " | |
style = "bg:sapphire fg:surface1" | |
format = '[ $symbol $context ]($style) $path' | |
[fill] | |
symbol = " " | |
[cmd_duration] | |
disabled = false | |
show_milliseconds = true | |
style = "fg:bold surface1 bg:yellow" | |
format = '[ $duration ]($style)' | |
[battery] | |
full_symbol = " " | |
charging_symbol = " " | |
discharging_symbol = " " | |
unknown_symbol = " " | |
empty_symbol = " " | |
format = "[$symbol$percentage]($style)" | |
[[battery.display]] | |
threshold = 80 | |
style = "green bold" | |
charging_symbol = " " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 70 | |
style = "green bold" | |
charging_symbol = " " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 60 | |
style = "green bold" | |
charging_symbol = " " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 50 | |
style = "yellow bold" | |
charging_symbol = " " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 40 | |
style = "yellow bold" | |
charging_symbol = " " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 30 | |
style = "yellow bold" | |
charging_symbol = " " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 20 | |
style = "red bold" | |
charging_symbol = " " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 10 | |
style = "red bold" | |
charging_symbol = "ﴆ " | |
discharging_symbol = " " | |
[[battery.display]] | |
threshold = 0 | |
style = "red bold" | |
charging_symbol = "ﴐ " | |
discharging_symbol = " " | |
[character] | |
success_symbol = "[→](bold green)" | |
error_symbol = "[](bold red)" | |
[os.symbols] | |
Alpine = " " | |
Amazon = " " | |
Android = " " | |
Arch = " " | |
CentOS = " " | |
Debian = " " | |
DragonFly = " " | |
Emscripten = " " | |
EndeavourOS = " " | |
Fedora = " " | |
FreeBSD = " " | |
Garuda = " " | |
Gentoo = " " | |
HardenedBSD = "ﲊ " | |
Illumos = " " | |
Linux = " " | |
Macos = " " | |
Manjaro = " " | |
Mariner = " " | |
MidnightBSD = " " | |
Mint = " " | |
NetBSD = " " | |
NixOS = " " | |
OpenBSD = " " | |
openSUSE = " " | |
OracleLinux = " " | |
Pop = " " | |
Raspbian = " " | |
Redhat = " " | |
RedHatEnterprise = " " | |
Redox = " " | |
Solus = "ﴱ " | |
SUSE = " " | |
Ubuntu = " " | |
Unknown = " " | |
Windows = " " | |
[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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment