]> git.rmz.io Git - dotfiles.git/commitdiff
Revert "awesome: update layout.inc call to new api"
authorSamir Benmendil <samir.benmendil@gmail.com>
Thu, 18 Dec 2014 11:15:11 +0000 (12:15 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Thu, 18 Dec 2014 11:15:11 +0000 (12:15 +0100)
yeah, I don't use the git version anywhere, so let's revert this for now

This reverts commit 6c3f59e62a32b670161736dd995a3153837d4c94.

awesome/bindings.lua

index 5ff504ebf91021ab7a7cf641c0d5b78d31cd25a4..af2426e97a21420088b5e339aacf34083d4571ee 100644 (file)
@@ -70,8 +70,8 @@ globalkeys = awful.util.table.join(globalkeys,
     -- Prompt
     awful.key({ modkey }, "space", function () mypromptbox[mouse.screen]:run() end),
     -- switch layout
-    awful.key({ modkey }, "]", function () awful.layout.inc( 1, mouse.screen, layouts) end),
-    awful.key({ modkey }, "[", function () awful.layout.inc(-1, mouse.screen, layouts) end),
+    awful.key({ modkey }, "]", function () awful.layout.inc(layouts,  1) end),
+    awful.key({ modkey }, "[", function () awful.layout.inc(layouts, -1) end),
     -- resize slave
     awful.key({ modkey, "Control" }, "j",      function () awful.client.incwfact( 0.05)  end),
     awful.key({ modkey, "Control" }, "k",      function () awful.client.incwfact(-0.05)  end),