From fa3d7000bfe3eec54fdc2cae546f180a4602f155 Mon Sep 17 00:00:00 2001 From: FredzyW Date: Tue, 16 Jul 2024 10:24:47 +0200 Subject: [PATCH] Add alacritty --- shared/alacritty.nix | 86 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 shared/alacritty.nix diff --git a/shared/alacritty.nix b/shared/alacritty.nix new file mode 100644 index 0000000..f89c6ba --- /dev/null +++ b/shared/alacritty.nix @@ -0,0 +1,86 @@ +{ pkgs, lib, myhostname, ... }: +{ + programs.alacritty = { + enable = true; + settings = { + colors = { + primary = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + dim_foreground = "#7f849c"; + bright_foreground = "#cdd6f4"; + }; + cursor = { + text = "#1e1e2e"; + cursor = "#f5e0dc"; + }; + vi_mode_cursor = { + text = "#1e1e2e"; + cursor = "#b4befe"; + }; + search = { + matches = { + foreground = "#1e1e2e"; + background = "#a6adc8"; + }; + focused_match = { + foreground = "#1e1e2e"; + background = "#a6e3a1"; + }; + }; + footer_bar = { + foreground = "#1e1e2e"; + background = "#a6adc8"; + }; + hints = { + start = { + foreground = "#1e1e2e"; + background = "#f9e2af"; + }; + end = { + foreground = "#1e1e2e"; + background = "#a6adc8"; + }; + }; + selection = { + text = "#1e1e2e"; + background = "#f5e0dc"; + }; + normal = { + black = "#45475a"; + red = "#f38ba8"; + green = "#a6e3a1"; + yellow = "#f9e2af"; + blue = "#89b4fa"; + magenta = "#f5c2e7"; + cyan = "#94e2d5"; + white = "#bac2de"; + }; + bright = { + black = "#585b70"; + red = "#f38ba8"; + green = "#a6e3a1"; + yellow = "#f9e2af"; + blue = "#89b4fa"; + magenta = "#f5c2e7"; + cyan = "#94e2d5"; + white = "#a6adc8"; + }; + dim = { + black = "#45475a"; + red = "#f38ba8"; + green = "#a6e3a1"; + yellow = "#f9e2af"; + blue = "#89b4fa"; + magenta = "#f5c2e7"; + cyan = "#94e2d5"; + white = "#bac2de"; + }; + indexed_colors = [ + { index = 16; color = "#fab387"; } + { index = 17; color = "#f5e0dc"; } + ]; + }; + }; + }; +}