summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awesome/rc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 4102ec6..29eba97 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -58,6 +58,7 @@ end
terminal = "urxvt"
editor = "emacs"
editor_cmd = editor
+locker = "i3lock -c 000000"
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
@@ -294,7 +295,7 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),
awful.key({ modkey, "Mod1" }, "q", awesome.quit),
- awful.key({ "Mod1", "Control" }, "l", function () awful.util.spawn("i3lock -c 000000") end),
+ awful.key({ "Mod1", "Control" }, "l", function () awful.util.spawn(locker) end),
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),