nixcfg/homeManagerModules/apps/kitty/default.nix
Aly Raffauf 59503e0dee
Some checks are pending
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
return to old defaults
2024-08-09 14:40:26 -04:00

29 lines
639 B
Nix

{
config,
lib,
pkgs,
...
}: let
cfg = config.ar.home;
in {
config = lib.mkIf cfg.apps.kitty.enable {
programs.kitty = {
enable = true;
font = {
name = cfg.theme.monospaceFont.name;
size = cfg.theme.monospaceFont.size + 1;
};
settings = {
background_opacity = "0.6";
confirm_os_window_close = "0";
notify_on_cmd_finish = "unfocused 10.0 command ${lib.getExe pkgs.libnotify} -i ${pkgs.kitty}/share/icons/hicolor/256x256/apps/kitty.png \"Job Finished\"";
tab_bar_style = "powerline";
};
theme = lib.mkDefault "Adwaita dark";
};
};
}