summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2011-11-26 19:17:19 +0100
committerNicolas Schodet2011-11-26 19:17:19 +0100
commit2544780887306c2da71685f86a0587d1b92ee3a8 (patch)
treed4f080bc70a44ef5eb9c695d19fa8c9da204b11c
parentb291d6a2847eef213820f3030f7925ab1950e5a3 (diff)
add lock
-rw-r--r--rc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.lua b/rc.lua
index 230a662..46b6b2a 100644
--- a/rc.lua
+++ b/rc.lua
@@ -22,6 +22,7 @@ terminal = "x-terminal-emulator"
terminal_small = "x-terminal-emulator -name urxvt-small"
editor = os.getenv("EDITOR") or "editor"
editor_cmd = terminal .. " -e " .. editor
+lock = "slock"
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
@@ -206,6 +207,7 @@ globalkeys = awful.util.table.join(
-- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, "Shift" }, "Return", function () awful.util.spawn(terminal_small) end),
+ awful.key({ modkey, }, "v", function () awful.util.spawn(lock) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),
awful.key({ modkey, "Shift" }, "q", awesome.quit),