From a6d8dbf2be4a1ca5ba0957232b6eed2b32118d8a Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 29 May 2024 09:13:51 +0100 Subject: [PATCH] Add binds to restore and clear notifcations with makoctl --- programs/desktop/sway/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/desktop/sway/default.nix b/programs/desktop/sway/default.nix index ed19a7c..f66ccbb 100644 --- a/programs/desktop/sway/default.nix +++ b/programs/desktop/sway/default.nix @@ -134,6 +134,8 @@ # System utilities "Mod4+Mod1+l" = "exec swaylockfx"; + "${modifier}+z" = "exec ${pkgs.mako}/bin/makoctl restore"; + "${modifier}+Shift+z" = "exec ${pkgs.mako}/bin/makoctl dismiss -a"; "${modifier}+Shift+p" = "exec ${programs.wlogout.package}/bin/wlogout"; "${modifier}+Shift+Return" = "exec ${programs.emacs.finalPackage}/bin/emacsclient -c"; };