nixcfg/homeManagerModules/apps/kitty/default.nix
Aly Raffauf a8de7da687
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
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
home/kitty: use kitty icon in cmd_finish notification
2024-07-25 10:35:50 -04:00

27 lines
586 B
Nix

{
config,
lib,
pkgs,
...
}: {
config = lib.mkIf config.ar.home.apps.kitty.enable {
programs.kitty = {
enable = true;
font = {
name = "NotoSansM Nerd Font";
size = config.gtk.font.size;
};
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";
};
theme = "Adwaita dark";
};
};
}