From: Samir Benmendil Date: Fri, 27 Sep 2013 15:38:11 +0000 (+0200) Subject: add lock binding X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/1fde1664345ce56e7e12a7f73605b336daaea5d0 add lock binding --- diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 2597eb2..71edd12 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -76,6 +76,8 @@ globalkeys = awful.util.table.join( -- {{{ My Keys -- Menu awful.key({ modkey }, "w", function () mymainmenu:show({ coords = { x = 0, y = 0}}) end), + -- Lock + awful.key({ modkey }, "l", function () awful.util.spawn("slock") end), -- Prompt awful.key({ modkey }, "space", function () mypromptbox[mouse.screen]:run() end), -- switch layout