From d67e88c6ad0083d7b0dc0320fdbe196f2d9104ce Mon Sep 17 00:00:00 2001 From: Pratik Devkota Date: Thu, 24 Jun 2021 09:28:30 +0000 Subject: [PATCH] Update rc.lua.template Add a keybindings to dismiss notifications with Ctrl+Space --- rc.lua.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rc.lua.template b/rc.lua.template index dd81459..4416ef1 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -250,6 +250,9 @@ root.buttons(mytable.join( -- {{{ Key bindings globalkeys = mytable.join( + -- Destroy all notifications + awful.key({ "Control", }, "space", function() naughty.destroy_all_notifications() end, + {description = "destroy all notifications", group = "hotkeys"}), -- Take a screenshot -- https://github.com/lcpz/dots/blob/master/bin/screenshot awful.key({ altkey }, "p", function() os.execute("screenshot") end,