diff --git a/home/.config/awesome/rc.lua b/home/.config/awesome/rc.lua index d285b8c..a3c874f 100644 --- a/home/.config/awesome/rc.lua +++ b/home/.config/awesome/rc.lua @@ -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(