aboutsummaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorKyle Javier2021-09-23 23:12:17 -0400
committerKyle Javier2021-09-23 23:12:17 -0400
commit6d5c197025f7327ba4a6694d8b9c13e36b9938b6 (patch)
treec536bbc478d91fe5ed51a36f4364446ab9bca903 /awesome
parent9b3a4e8270bce46c5b5e77e8d548d93e3a712527 (diff)
added proper (hopefully) suspend/resume notifications for the naughty daemon
Diffstat (limited to 'awesome')
-rw-r--r--awesome/rc.lua7
1 files changed, 7 insertions, 0 deletions
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,