summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-01-29 02:39:38 +0100
committerGravatar Tom Willemsen2013-01-29 02:39:38 +0100
commit3eb70ea08594a6759becfefd868c18296fab1689 (patch)
tree5f0c85d2f840d74d9516d14a33b73813ce32b97d
parenta89de59d033161bdb24f0688002c6cc35a87c8e6 (diff)
downloaddotfiles-3eb70ea08594a6759becfefd868c18296fab1689.tar.gz
dotfiles-3eb70ea08594a6759becfefd868c18296fab1689.zip
awesome: Add keybinding for i3lock
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 3 insertions, 1 deletions
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",