Alacritty could not escape the theming

Main
Johannes Hendrik Gerard van der Weide 2024-02-21 16:08:00 +01:00
parent 48efa70063
commit 075d30e52a
2 changed files with 40 additions and 0 deletions

View File

@ -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

39
programs/alacritty.nix Normal file
View File

@ -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}";
};
};
};
};
}