Update rc.lua.template
Add a keybindings to dismiss notifications with Ctrl+Space
This commit is contained in:
parent
659e79b292
commit
d67e88c6ad
|
@ -250,6 +250,9 @@ root.buttons(mytable.join(
|
||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
|
|
||||||
globalkeys = mytable.join(
|
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
|
-- Take a screenshot
|
||||||
-- https://github.com/lcpz/dots/blob/master/bin/screenshot
|
-- https://github.com/lcpz/dots/blob/master/bin/screenshot
|
||||||
awful.key({ altkey }, "p", function() os.execute("screenshot") end,
|
awful.key({ altkey }, "p", function() os.execute("screenshot") end,
|
||||||
|
|
Loading…
Reference in New Issue