From 1d2a8bddd6d2fb1ea6b07f84652c7cddac5266cd Mon Sep 17 00:00:00 2001 From: ryuslash Date: Wed, 1 Sep 2010 15:57:45 +0200 Subject: Added a locker variable so it can be changed in the local_rc --- awesome/rc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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), -- cgit v1.2.3-54-g00ecf