Add key for going to sleep
This commit is contained in:
parent
8a58a696d7
commit
75eebc16c4
|
@ -172,6 +172,13 @@ keys.globalkeys = gears.table.join(
|
|||
end,
|
||||
{description = "Clipboard manager", group = "launcher"}
|
||||
),
|
||||
-- Go to sleep
|
||||
awful.key({"Control", "Mod2", "Mod4"}, "q",
|
||||
function()
|
||||
awful.spawn.with_shell('systemctl suspend')
|
||||
end,
|
||||
{description = "Clipboard manager", group = "launcher"}
|
||||
),
|
||||
|
||||
-- Quake
|
||||
awful.key({ }, "F9", function () awful.screen.focused().quake:toggle() end),
|
||||
|
|
Loading…
Reference in New Issue