diff --git a/hertog/home.nix b/hertog/home.nix index 53a4bb2..8673b5b 100644 --- a/hertog/home.nix +++ b/hertog/home.nix @@ -7,6 +7,7 @@ inputs.nix-colors.homeManagerModules.default ../theming/colorScheme.nix ../programs/sway + ../programs/alacritty.nix ../programs/dconf.nix ../programs/zsh.nix ../programs/git.nix diff --git a/programs/alacritty.nix b/programs/alacritty.nix new file mode 100644 index 0000000..0343df0 --- /dev/null +++ b/programs/alacritty.nix @@ -0,0 +1,39 @@ +{ config, ... }: + +{ + programs.alacritty = { + enable = true; + settings = { + colors = with config.colorScheme.palette; { + bright = { + black = "0x${base00}"; + blue = "0x${base0D}"; + cyan = "0x${base0C}"; + green = "0x${base0B}"; + magenta = "0x${base0E}"; + red = "0x${base08}"; + white = "0x${base06}"; + yellow = "0x${base09}"; + }; + cursor = { + cursor = "0x${base06}"; + text = "0x${base06}"; + }; + normal = { + black = "0x${base00}"; + blue = "0x${base0D}"; + cyan = "0x${base0C}"; + green = "0x${base0B}"; + magenta = "0x${base0E}"; + red = "0x${base08}"; + white = "0x${base06}"; + yellow = "0x${base0A}"; + }; + primary = { + background = "0x${base00}"; + foreground = "0x${base06}"; + }; + }; + }; + }; +}