starship: Use catppuccin theme, minor refactor, add icons
This commit is contained in:
parent
5f689ef78a
commit
59264113f9
1 changed files with 143 additions and 20 deletions
|
@ -12,29 +12,21 @@ in
|
|||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
aws.disabled = true;
|
||||
# Sets user-defined palette
|
||||
palette = "catppuccin_macchiato";
|
||||
|
||||
character = {
|
||||
success_symbol = "[λ](bold #f8f8f2)";
|
||||
error_symbol = "[λ](bold #ff5555)";
|
||||
# Note the use of Catppuccin color 'maroon'
|
||||
success_symbol = "[[♥](green) ❯](maroon)";
|
||||
error_symbol = "[❯](red)";
|
||||
vimcmd_symbol = "[❮](green)";
|
||||
};
|
||||
cmd_duration.style = "bold #f1fa8c";
|
||||
directory.read_only = " "; # Icon: lock
|
||||
directory.style = "bold #50fa7b";
|
||||
docker_context.symbol = " ";
|
||||
elixir.symbol = " ";
|
||||
git_branch.symbol = " ";
|
||||
git_branch.style = "bold #ff79c6";
|
||||
git_status.style = "bold #ff5555";
|
||||
hostname.style = "bold #ff5555";
|
||||
nix_shell.symbol = " ";
|
||||
memory_usage = {
|
||||
symbol = " "; # Icon: memory
|
||||
disabled = false;
|
||||
directory = {
|
||||
truncation_length = 4;
|
||||
read_only = " "; # Icon: lock
|
||||
# Catppuccin 'lavender'
|
||||
style = "bold lavender";
|
||||
};
|
||||
package.symbol = " "; # Icon: package_variant_closed
|
||||
python.symbol = " ";
|
||||
rust.symbol = " ";
|
||||
time.disabled = false;
|
||||
username = {
|
||||
format = "[$user]($style) on ";
|
||||
style_user = "bold #bd93f9";
|
||||
|
@ -43,6 +35,137 @@ in
|
|||
disabled = false;
|
||||
format = "[$symbol $status]($style) ";
|
||||
};
|
||||
|
||||
cmd_duration.style = "bold #f1fa8c";
|
||||
|
||||
aws.disabled = true;
|
||||
buf.symbol = " ";
|
||||
c.symbol = " ";
|
||||
conda.symbol = " ";
|
||||
crystal.symbol = " ";
|
||||
dart.symbol = " ";
|
||||
docker_context.symbol = " ";
|
||||
elixir.symbol = " ";
|
||||
elm.symbol = " ";
|
||||
fennel.symbol = " ";
|
||||
fossil_branch.symbol = " ";
|
||||
git_branch = {
|
||||
symbol = " ";
|
||||
style = "bold #ff79c6";
|
||||
};
|
||||
git_status = {
|
||||
style = "bold #ff5555";
|
||||
};
|
||||
golang.symbol = " ";
|
||||
guix_shell.symbol = " ";
|
||||
haskell.symbol = " ";
|
||||
haxe.symbol = " ";
|
||||
hg_branch.symbol = " ";
|
||||
hostname = {
|
||||
ssh_symbol = " ";
|
||||
style = "bold #ff5555";
|
||||
};
|
||||
java.symbol = " ";
|
||||
julia.symbol = " ";
|
||||
kotlin.symbol = " ";
|
||||
lua.symbol = " ";
|
||||
memory_usage = {
|
||||
symbol = " "; # Icon: memory
|
||||
disabled = false;
|
||||
};
|
||||
meson.symbol = " ";
|
||||
nim.symbol = " ";
|
||||
nix_shell.symbol = " ";
|
||||
nodejs.symbol = " ";
|
||||
ocaml.symbol = " ";
|
||||
os.symbols = {
|
||||
Alpaquita = " ";
|
||||
Alpine = " ";
|
||||
AlmaLinux = " ";
|
||||
Amazon = " ";
|
||||
Android = " ";
|
||||
Arch = " ";
|
||||
Artix = " ";
|
||||
CentOS = " ";
|
||||
Debian = " ";
|
||||
DragonFly = " ";
|
||||
Emscripten = " ";
|
||||
EndeavourOS = " ";
|
||||
Fedora = " ";
|
||||
FreeBSD = " ";
|
||||
Garuda = " ";
|
||||
Gentoo = " ";
|
||||
HardenedBSD = " ";
|
||||
Illumos = " ";
|
||||
Kali = " ";
|
||||
Linux = " ";
|
||||
Mabox = " ";
|
||||
Macos = " ";
|
||||
Manjaro = " ";
|
||||
Mariner = " ";
|
||||
MidnightBSD = " ";
|
||||
Mint = " ";
|
||||
NetBSD = " ";
|
||||
NixOS = " ";
|
||||
OpenBSD = " ";
|
||||
openSUSE = " ";
|
||||
OracleLinux = " ";
|
||||
Pop = " ";
|
||||
Raspbian = " ";
|
||||
Redhat = " ";
|
||||
RedHatEnterprise = " ";
|
||||
RockyLinux = " ";
|
||||
Redox = " ";
|
||||
Solus = " ";
|
||||
SUSE = " ";
|
||||
Ubuntu = " ";
|
||||
Unknown = " ";
|
||||
Void = " ";
|
||||
Windows = " ";
|
||||
};
|
||||
package.symbol = " "; # Icon: package_variant_closed
|
||||
perl.symbol = " ";
|
||||
php.symbol = " ";
|
||||
pijul_channel.symbol = " ";
|
||||
python.symbol = " ";
|
||||
rlang.symbol = " ";
|
||||
ruby.symbol = " ";
|
||||
rust.symbol = " ";
|
||||
scala.symbol = " ";
|
||||
swift.symbol = " ";
|
||||
time.disabled = false;
|
||||
zig.symbol = " ";
|
||||
|
||||
palettes = {
|
||||
catppuccin_macchiato = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue