add: starship conf

This commit is contained in:
kenji
2025-12-27 11:37:21 -06:00
parent e8abbff15e
commit eb10aa526e
5 changed files with 64 additions and 16 deletions
+8 -15
View File
@@ -2,25 +2,18 @@
programs.starship = {
enable = true;
settings = {
# Pro layout: one-line, clear spacing
format = ''
[](surface0)$os$directory[](fg:surface0 bg:peach)$git_branch$git_status[](fg:peach bg:surface1)$c$rust$nodejs$python$golang[](fg:surface1 bg:surface0)$nix_shell[](surface0)
$character'';
# Palette definition (Catppuccin Mocha-inspired)
# Tell Starship to use the palette Stylix is already generating
palette = "base16";
# Map your custom names to Stylix/Base16 colors
# Stylix colors are available at: config.lib.stylix.colors.withHashtag.base0X
palettes.base16 = {
# Using standard Catppuccin/Base16 mapping
surface0 = "${config.lib.stylix.colors.withHashtag.base00}"; # Darkest BG
surface1 = "${config.lib.stylix.colors.withHashtag.base01}"; # Slightly lighter BG
text = "${config.lib.stylix.colors.withHashtag.base05}"; # Main Text
peach = "${config.lib.stylix.colors.withHashtag.base09}"; # Orange accent
lavender = "${config.lib.stylix.colors.withHashtag.base0E}"; # Purple accent
sapphire = "${config.lib.stylix.colors.withHashtag.base0C}"; # Cyan accent
palette = "catppuccin";
palettes.catppuccin = {
surface0 = "#313244";
surface1 = "#45475a";
peach = "#fab387";
lavender = "#b4befe";
sapphire = "#74c7ec";
text = "#cdd6f4";
};
os = {
disabled = false;