nixcfg/homeManagerModules/apps/kitty/default.nix

29 lines
639 B
Nix
Raw Normal View History

2024-07-23 23:21:59 -04:00
{
config,
lib,
pkgs,
...
}: let
cfg = config.ar.home;
in {
config = lib.mkIf cfg.apps.kitty.enable {
2024-07-23 23:21:59 -04:00
programs.kitty = {
enable = true;
font = {
name = cfg.theme.monospaceFont.name;
size = cfg.theme.monospaceFont.size + 1;
2024-07-23 23:21:59 -04:00
};
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";
2024-07-23 23:21:59 -04:00
};
2024-07-24 08:26:00 -04:00
theme = lib.mkDefault "Adwaita dark";
2024-07-23 23:21:59 -04:00
};
};
}