nixcfg/homeManagerModules/apps/alacritty/default.nix
Aly Raffauf 3671401d62
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
theme: overhaul (#78)
* add nord css

* waybar: workaround to avoid hardcoding rgba colors

* alacritty: fix fotn references

* kitty: add custom theme

* waybar: fmt

* aly: remove zed transparency rules

* theme: customize adwaita

* aly: set colors

* desktop: borders 2px -> 4px

* mako: increase border size

* theme: add teritiary color

* hyprland: ignorezero for rofi

* theme: remove teritary color option

* rofi: dynamic theme

* waybar: cleanup

* aly: override helix theme to rose-pine-moon

* return to old defaults

* theme: restore gtk recoloring

* waybar: remove transparency

* aly/theme: mtch rosé pine font color

* theme: add global border-radius options

* theme: add borderRadius

* mauville: override with rose pine dawn colors

* mauville: force override with rose pine dawn colors
2024-08-09 18:16:46 -04:00

44 lines
865 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.monospaceFont.name;
style = "Regular";
};
size = cfg.theme.monospaceFont.size + 1;
};
selection.save_to_clipboard = true;
window = {
blur = true;
decorations = "Full";
dynamic_padding = true;
opacity = 0.6;
};
};
};
};
}