Merge pull request #287 from pratik-devkota/patch-1

Add a key binding to dismiss notifications
This commit is contained in:
Luca CPZ 2021-06-24 18:55:47 +00:00 committed by GitHub
commit e6f3a2b64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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,