diff --git a/home/wm/i3.nix b/home/wm/i3.nix index 7c29c8b..38a5f9e 100644 --- a/home/wm/i3.nix +++ b/home/wm/i3.nix @@ -237,6 +237,16 @@ in in "exec ${toggleXautolock}"; }) + ( + let + execDunstctl = "exec ${pkgs.dunst}/bin/dunstctl"; + in + lib.optionalAttrs config.my.home.wm.dunst.enable { + "${modifier}+minus" = "${execDunstctl} close"; + "${modifier}+Shift+minus" = "${execDunstctl} close-all"; + "${modifier}+equal" = "${execDunstctl} history-pop"; + } + ) ]; keycodebindings =