Add awesome key combination for lock screen

This commit is contained in:
Simon Bruder 2019-10-29 10:50:36 +00:00
parent ac821c8ed4
commit a01c36e7f5
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -329,7 +329,10 @@ globalkeys = gears.table.join(
{description = "lua execute prompt", group = "awesome"}),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end,
{description = "show the menubar", group = "launcher"})
{description = "show the menubar", group = "launcher"}),
-- Lock screen
awful.key({ modkey }, "y", function() awful.util.spawn({ "/usr/local/bin/lock" }) end,
{description = "lock the screen", group = "awesome"})
)
clientkeys = gears.table.join(