1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 03:02:32 +00:00

Update rc.lua.template

Add a keybindings to dismiss notifications with Ctrl+Space
This commit is contained in:
Pratik Devkota 2021-06-24 09:28:30 +00:00 committed by GitHub
parent 659e79b292
commit d67e88c6ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,