diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-12-02 18:05:47 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-12-02 18:05:47 +0100 |
commit | 78443ad0af1562523ff8d5910bc288a7d158c496 (patch) | |
tree | d41bb53c67cc1ffe1b16dd18e933d6f258c02ecb | |
parent | 8e5df7f49b4e05760312a2f86104fcdde5bdb515 (diff) |
bindings: use mod-\ for switching layouts
-rw-r--r-- | bindings.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings.lua b/bindings.lua index 3746ae3..faf133d 100644 --- a/bindings.lua +++ b/bindings.lua @@ -83,6 +83,10 @@ function M.create(workspace) awful.key({ modkey, }, ".", function () awful.tag.incnmaster(-1) end), awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end), awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end), + awful.key({ modkey, }, "\\", + function () awful.layout.inc( 1, nil, workspace.layouts) end), + awful.key({ modkey, "Control" }, "\\", + function () awful.layout.inc(-1, nil, workspace.layouts) end), -- move to upper/lower page awful.key({ modkey, "Shift" }, "j", |