diff options
author | ryuslash | 2010-09-01 15:57:45 +0200 |
---|---|---|
committer | ryuslash | 2010-09-01 15:57:45 +0200 |
commit | 1d2a8bddd6d2fb1ea6b07f84652c7cddac5266cd (patch) | |
tree | e5219223047ce12552805f80a3e3fd55b204e9e7 /awesome/rc.lua | |
parent | 7f6575ca7aa2db4e63b7c29457bdb3b5b0224995 (diff) | |
download | dotfiles-1d2a8bddd6d2fb1ea6b07f84652c7cddac5266cd.tar.gz dotfiles-1d2a8bddd6d2fb1ea6b07f84652c7cddac5266cd.zip |
Added a locker variable so it can be changed in the local_rc
Diffstat (limited to 'awesome/rc.lua')
-rw-r--r-- | awesome/rc.lua | 3 |
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), |