aboutsummaryrefslogtreecommitdiff
path: root/home/programs/alacritty
diff options
context:
space:
mode:
Diffstat (limited to 'home/programs/alacritty')
-rw-r--r--home/programs/alacritty/catppuccin-latte.toml65
-rw-r--r--home/programs/alacritty/default.nix54
2 files changed, 119 insertions, 0 deletions
diff --git a/home/programs/alacritty/catppuccin-latte.toml b/home/programs/alacritty/catppuccin-latte.toml
new file mode 100644
index 0000000..e9414ad
--- /dev/null
+++ b/home/programs/alacritty/catppuccin-latte.toml
@@ -0,0 +1,65 @@
+[colors.primary]
+background = "#eff1f5"
+foreground = "#4c4f69"
+dim_foreground = "#8c8fa1"
+bright_foreground = "#4c4f69"
+
+[colors.cursor]
+text = "#eff1f5"
+cursor = "#dc8a78"
+
+[colors.vi_mode_cursor]
+text = "#eff1f5"
+cursor = "#7287fd"
+
+[colors.search.matches]
+foreground = "#eff1f5"
+background = "#6c6f85"
+
+[colors.search.focused_match]
+foreground = "#eff1f5"
+background = "#40a02b"
+
+[colors.footer_bar]
+foreground = "#eff1f5"
+background = "#6c6f85"
+
+[colors.hints.start]
+foreground = "#eff1f5"
+background = "#df8e1d"
+
+[colors.hints.end]
+foreground = "#eff1f5"
+background = "#6c6f85"
+
+[colors.selection]
+text = "#eff1f5"
+background = "#dc8a78"
+
+[colors.normal]
+black = "#bcc0cc"
+red = "#d20f39"
+green = "#40a02b"
+yellow = "#df8e1d"
+blue = "#1e66f5"
+magenta = "#ea76cb"
+cyan = "#179299"
+white = "#5c5f77"
+
+[colors.bright]
+black = "#acb0be"
+red = "#d20f39"
+green = "#40a02b"
+yellow = "#df8e1d"
+blue = "#1e66f5"
+magenta = "#ea76cb"
+cyan = "#179299"
+white = "#6c6f85"
+
+[[colors.indexed_colors]]
+index = 16
+color = "#fe640b"
+
+[[colors.indexed_colors]]
+index = 17
+color = "#dc8a78"
diff --git a/home/programs/alacritty/default.nix b/home/programs/alacritty/default.nix
new file mode 100644
index 0000000..18c5182
--- /dev/null
+++ b/home/programs/alacritty/default.nix
@@ -0,0 +1,54 @@
+{ config, ... }:
+let
+ defaultFont = "Source Code Pro";
+in
+{
+ programs.alacritty = {
+ enable = true;
+ settings = {
+ env.TERM = "xterm-256color";
+ general.import = [
+ "${config.xdg.configHome}/alacritty/catppuccin-latte.toml"
+ ];
+ selection.save_to_clipboard = true;
+ window = {
+ dimensions = {
+ columns = 120;
+ lines = 40;
+ };
+ padding = {
+ x = 2;
+ y = 2;
+ };
+ };
+ scrolling = {
+ history = 10000;
+ multiplier = 3;
+ };
+ font = {
+ normal.family = defaultFont;
+ bold = {
+ family = defaultFont;
+ style = "Bold";
+ };
+ italic = {
+ family = defaultFont;
+ style = "Italic";
+ };
+ size = 14;
+ offset = {
+ x = 0;
+ y = 0;
+ };
+ glyph_offset = {
+ x = 0;
+ y = 0;
+ };
+ };
+ };
+ };
+
+ home.file.".config/alacritty/catppuccin-latte.toml" = {
+ source = ./catppuccin-latte.toml;
+ };
+}