mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 04:51:55 -05:00
42 lines
848 B
Nix
42 lines
848 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.home.apps.alacritty.enable {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
colors = {
|
|
draw_bold_text_with_bright_colors = true;
|
|
|
|
primary = {
|
|
background = "${config.ar.home.theme.colors.background}";
|
|
foreground = "${config.ar.home.theme.colors.text}";
|
|
};
|
|
|
|
transparent_background_colors = true;
|
|
};
|
|
|
|
font = {
|
|
normal = {
|
|
family = "NotoSansM Nerd Font";
|
|
style = "Regular";
|
|
};
|
|
|
|
size = config.gtk.font.size;
|
|
};
|
|
|
|
selection.save_to_clipboard = true;
|
|
|
|
window = {
|
|
blur = true;
|
|
decorations = "Full";
|
|
dynamic_padding = true;
|
|
opacity = 0.8;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|