nixcfg/homeManagerModules/apps/kitty/default.nix

29 lines
625 B
Nix
Raw Normal View History

2024-07-23 23:21:59 -04:00
{
config,
lib,
pkgs,
...
2024-08-07 21:52:57 -04:00
}: 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 = {
2024-08-07 21:59:25 -04:00
name = cfg.theme.monospaceFont.name;
2024-08-07 21:52:57 -04:00
size = cfg.theme.monospaceFont.size + 1;
2024-07-23 23:21:59 -04:00
};
settings = {
background_opacity = "0.8";
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 = "Adwaita dark";
2024-07-23 23:21:59 -04:00
};
};
}