Added a locker variable so it can be changed in the local_rc

This commit is contained in:
ryuslash 2010-09-01 15:57:45 +02:00
parent 7f6575ca7a
commit 1d2a8bddd6

View file

@ -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),