From 6d5c197025f7327ba4a6694d8b9c13e36b9938b6 Mon Sep 17 00:00:00 2001 From: Kyle Javier Date: Thu, 23 Sep 2021 23:12:17 -0400 Subject: added proper (hopefully) suspend/resume notifications for the naughty daemon --- awesome/rc.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'awesome') diff --git a/awesome/rc.lua b/awesome/rc.lua index 3d6d0c1..24b447f 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -263,6 +263,13 @@ globalkeys = gears.table.join( awful.key({ modkey, "Control"}, "Down", function () awful.client.swap.byidx( -1) end, {description = "swap with previous client by index", group = "client"}), + -- Notification Manipulation + awful.key({ modkey, }, "n", function () naughty.suspend() end, + {description = "Suspend Notifications", group = "awesome"}), + awful.key({ modkey, }, "m", function () naughty.resume() naughty.destroy_all_notifications() end, + {description = "Resume Notifications", group = "awesome"}), + + -- Unmodified Keys - Kyle --[[ awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end, -- cgit v1.2.3