summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-05-28 15:17:20 +0200
committerAnton Khirnov <anton@khirnov.net>2021-05-28 15:18:09 +0200
commit91faf957b1428eaec4f2a0ffc0fa91b98b90c3a2 (patch)
treef84bb045ecbf96e3e5f4ea893739707788a58bc8
parentc2f05aaee9ec57b0e6cc4d6191428ed680621f87 (diff)
bindings: free up h/l for future use
Use [Control] + ,/. to set master/column count. Use [Control] + [/] to change master area/swap clients. Drop the urgent jumpto binding, it does not play well with my workspace layout. Should be reimplemented at some point.
-rw-r--r--bindings.lua17
1 files changed, 8 insertions, 9 deletions
diff --git a/bindings.lua b/bindings.lua
index a082bb1..0b76c24 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -73,17 +73,16 @@ function M.create(workspace)
awful.client.setmaster(client.focus)
end
end),
- awful.key({ modkey, "Shift" }, "h", function () awful.client.swap.byidx( 1) end),
- awful.key({ modkey, "Shift" }, "l", function () awful.client.swap.byidx( -1) end),
- awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
+ awful.key({ modkey, }, ",", function () awful.tag.incnmaster( 1) end),
+ awful.key({ modkey, }, ".", function () awful.tag.incnmaster(-1) end),
+ awful.key({ modkey, "Control" }, ",", function () awful.tag.incncol( 1) end),
+ awful.key({ modkey, "Control" }, ".", function () awful.tag.incncol(-1) 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, }, ",", function () awful.tag.incnmaster( 1) end),
- 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, }, "bracketright", function () awful.tag.incmwfact( 0.05) end),
+ awful.key({ modkey, }, "bracketleft", function () awful.tag.incmwfact(-0.05) end),
+ awful.key({ modkey, "Shift" }, "bracketright", function () awful.client.swap.byidx( 1) end),
+ awful.key({ modkey, "Shift" }, "bracketleft", function () awful.client.swap.byidx( -1) end),
awful.key({ modkey, }, "\\",
function () awful.layout.inc( 1, nil, workspace.layouts) end),
awful.key({ modkey, "Control" }, "\\",