From 3eb70ea08594a6759becfefd868c18296fab1689 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 29 Jan 2013 02:39:38 +0100 Subject: [PATCH] awesome: Add keybinding for i3lock --- .config/awesome/rc.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 1ba9689..30ec573 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -249,7 +249,9 @@ globalkeys = awful.util.table.join( ror_combo({ modkey }, "e", 'emacsclient -ca emacs', 'Emacs'), ror_combo({ modkey }, "c", 'urxvt', 'URxvt'), - ror_combo({ modkey }, "w", 'conkeror', 'Conkeror')) + ror_combo({ modkey }, "w", 'conkeror', 'Conkeror'), + awful.key({ "Control", "Mod1" }, "l", + function () awful.util.spawn('i3lock -c 000000') end)) clientkeys = awful.util.table.join( awful.key({ modkey, }, "f",