mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -05:00
Aly Raffauf
7394dc9339
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* migrate to new transparency settings * sway: set default border and floating border to 2 * nix fmt * hyprland: don't dimaround rofi
44 lines
875 B
Nix
44 lines
875 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.ar.home;
|
|
in {
|
|
config = lib.mkIf cfg.apps.alacritty.enable {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
colors = {
|
|
draw_bold_text_with_bright_colors = true;
|
|
|
|
primary = {
|
|
background = "${cfg.theme.colors.background}";
|
|
foreground = "${cfg.theme.colors.text}";
|
|
};
|
|
|
|
transparent_background_colors = true;
|
|
};
|
|
|
|
font = {
|
|
normal = {
|
|
family = cfg.theme.font.monospaceFont.name;
|
|
style = "Regular";
|
|
};
|
|
|
|
size = cfg.theme.font.monospaceFont.size + 1;
|
|
};
|
|
|
|
selection.save_to_clipboard = true;
|
|
|
|
window = {
|
|
blur = true;
|
|
decorations = "Full";
|
|
dynamic_padding = true;
|
|
opacity = 0.6;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|