Added a locker variable so it can be changed in the local_rc
This commit is contained in:
parent
7f6575ca7a
commit
1d2a8bddd6
1 changed files with 2 additions and 1 deletions
|
@ -58,6 +58,7 @@ end
|
||||||
terminal = "urxvt"
|
terminal = "urxvt"
|
||||||
editor = "emacs"
|
editor = "emacs"
|
||||||
editor_cmd = editor
|
editor_cmd = editor
|
||||||
|
locker = "i3lock -c 000000"
|
||||||
|
|
||||||
-- Default modkey.
|
-- Default modkey.
|
||||||
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
-- 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, }, "Return", function () awful.util.spawn(terminal) end),
|
||||||
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
||||||
awful.key({ modkey, "Mod1" }, "q", awesome.quit),
|
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, }, "l", function () awful.tag.incmwfact( 0.05) end),
|
||||||
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
|
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
|
||||||
|
|
Loading…
Reference in a new issue