]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/bindings.lua
add lock binding
[dotfiles.git] / awesome / bindings.lua
index 2597eb240a69d9fe6bf42f0e4c53301a8612b9e2..71edd1294162688e184f7f84576be3070ff0b91f 100644 (file)
@@ -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