summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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),