2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
2024-08-07 23:09:31 -04:00
|
|
|
}: let
|
|
|
|
cfg = config.ar.home;
|
|
|
|
in {
|
|
|
|
config = lib.mkIf cfg.apps.alacritty.enable {
|
2024-03-28 19:52:15 -04:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
colors = {
|
2024-07-19 22:42:45 -04:00
|
|
|
draw_bold_text_with_bright_colors = true;
|
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
primary = {
|
2024-08-07 23:09:31 -04:00
|
|
|
background = "${cfg.theme.colors.background}";
|
|
|
|
foreground = "${cfg.theme.colors.text}";
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
2024-07-19 22:42:45 -04:00
|
|
|
|
2024-04-01 00:02:18 -04:00
|
|
|
transparent_background_colors = true;
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
2024-07-19 22:42:45 -04:00
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
font = {
|
|
|
|
normal = {
|
2024-08-07 23:09:31 -04:00
|
|
|
family = cfg.theme.font.monospaceFont.name;
|
2024-03-28 19:52:15 -04:00
|
|
|
style = "Regular";
|
|
|
|
};
|
2024-07-19 22:42:45 -04:00
|
|
|
|
2024-08-07 23:09:31 -04:00
|
|
|
size = cfg.theme.font.monospaceFont.size + 1;
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
2024-07-19 22:42:45 -04:00
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
selection.save_to_clipboard = true;
|
2024-07-19 22:42:45 -04:00
|
|
|
|
2024-03-28 19:52:15 -04:00
|
|
|
window = {
|
|
|
|
blur = true;
|
2024-06-21 21:34:30 -04:00
|
|
|
decorations = "Full";
|
2024-03-28 19:52:15 -04:00
|
|
|
dynamic_padding = true;
|
2024-08-08 20:47:25 -04:00
|
|
|
opacity = 0.6;
|
2024-03-28 19:52:15 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|