aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/programs/alacritty/catppuccin-mocha.toml65
-rw-r--r--home/programs/alacritty/default.nix5
-rw-r--r--home/programs/starship.nix30
3 files changed, 99 insertions, 1 deletions
diff --git a/home/programs/alacritty/catppuccin-mocha.toml b/home/programs/alacritty/catppuccin-mocha.toml
new file mode 100644
index 0000000..7762dcd
--- /dev/null
+++ b/home/programs/alacritty/catppuccin-mocha.toml
@@ -0,0 +1,65 @@
+[colors.primary]
+background = "#1e1e2e"
+foreground = "#cdd6f4"
+dim_foreground = "#7f849c"
+bright_foreground = "#cdd6f4"
+
+[colors.cursor]
+text = "#1e1e2e"
+cursor = "#f5e0dc"
+
+[colors.vi_mode_cursor]
+text = "#1e1e2e"
+cursor = "#b4befe"
+
+[colors.search.matches]
+foreground = "#1e1e2e"
+background = "#a6adc8"
+
+[colors.search.focused_match]
+foreground = "#1e1e2e"
+background = "#a6e3a1"
+
+[colors.footer_bar]
+foreground = "#1e1e2e"
+background = "#a6adc8"
+
+[colors.hints.start]
+foreground = "#1e1e2e"
+background = "#f9e2af"
+
+[colors.hints.end]
+foreground = "#1e1e2e"
+background = "#a6adc8"
+
+[colors.selection]
+text = "#1e1e2e"
+background = "#f5e0dc"
+
+[colors.normal]
+black = "#45475a"
+red = "#f38ba8"
+green = "#a6e3a1"
+yellow = "#f9e2af"
+blue = "#89b4fa"
+magenta = "#f5c2e7"
+cyan = "#94e2d5"
+white = "#bac2de"
+
+[colors.bright]
+black = "#585b70"
+red = "#f38ba8"
+green = "#a6e3a1"
+yellow = "#f9e2af"
+blue = "#89b4fa"
+magenta = "#f5c2e7"
+cyan = "#94e2d5"
+white = "#a6adc8"
+
+[[colors.indexed_colors]]
+index = 16
+color = "#fab387"
+
+[[colors.indexed_colors]]
+index = 17
+color = "#f5e0dc"
diff --git a/home/programs/alacritty/default.nix b/home/programs/alacritty/default.nix
index 18c5182..95f17ec 100644
--- a/home/programs/alacritty/default.nix
+++ b/home/programs/alacritty/default.nix
@@ -8,7 +8,7 @@ in
settings = {
env.TERM = "xterm-256color";
general.import = [
- "${config.xdg.configHome}/alacritty/catppuccin-latte.toml"
+ "${config.xdg.configHome}/alacritty/catppuccin-mocha.toml"
];
selection.save_to_clipboard = true;
window = {
@@ -51,4 +51,7 @@ in
home.file.".config/alacritty/catppuccin-latte.toml" = {
source = ./catppuccin-latte.toml;
};
+ home.file.".config/alacritty/catppuccin-mocha.toml" = {
+ source = ./catppuccin-mocha.toml;
+ };
}
diff --git a/home/programs/starship.nix b/home/programs/starship.nix
index 8a541ce..d3f4359 100644
--- a/home/programs/starship.nix
+++ b/home/programs/starship.nix
@@ -4,6 +4,7 @@
enable = true;
settings = {
add_newline = false;
+ palette = "catppuccin_mocha";
character = {
success_symbol = "[›](bold green)";
error_symbol = "[›](bold red)";
@@ -34,6 +35,35 @@
disabled = false;
style = "bold blue";
};
+ # https://github.com/catppuccin/starship/blob/main/starship.toml
+ 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";
+ };
nix_shell.disabled = false;
};
};