2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-03-28 19:52:15 -04:00
|
|
|
options = {
|
2024-04-17 22:39:00 -04:00
|
|
|
alyraffauf.apps.alacritty.enable = lib.mkEnableOption "Enables alacritty.";
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.apps.alacritty.enable {
|
2024-03-28 19:52:15 -04:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
colors = {
|
|
|
|
primary = {
|
2024-05-04 20:51:15 -04:00
|
|
|
background = "${config.alyraffauf.desktop.theme.colors.background}";
|
2024-06-03 22:10:25 -04:00
|
|
|
foreground = "${config.alyraffauf.desktop.theme.colors.text}";
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
2024-04-01 00:02:18 -04:00
|
|
|
transparent_background_colors = true;
|
2024-03-28 19:52:15 -04:00
|
|
|
draw_bold_text_with_bright_colors = true;
|
|
|
|
};
|
|
|
|
font = {
|
|
|
|
normal = {
|
2024-05-04 20:51:15 -04:00
|
|
|
family = "${config.alyraffauf.desktop.theme.terminalFont.name}";
|
2024-03-28 19:52:15 -04:00
|
|
|
style = "Regular";
|
|
|
|
};
|
2024-05-04 20:51:15 -04:00
|
|
|
size = config.alyraffauf.desktop.theme.terminalFont.size;
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
selection.save_to_clipboard = true;
|
|
|
|
window = {
|
|
|
|
blur = true;
|
2024-06-03 22:10:25 -04:00
|
|
|
decorations = "None";
|
2024-03-28 19:52:15 -04:00
|
|
|
dynamic_padding = true;
|
|
|
|
opacity = 0.8;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|