Add awesome key combination for lock screen
This commit is contained in:
parent
ac821c8ed4
commit
a01c36e7f5
|
@ -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(
|
||||
|
|
Reference in a new issue