From: Samir Benmendil Date: Thu, 18 Dec 2014 11:15:11 +0000 (+0100) Subject: Revert "awesome: update layout.inc call to new api" X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/2847378868e7db372ea81a30c722bc98f31ca012?hp=--cc Revert "awesome: update layout.inc call to new api" yeah, I don't use the git version anywhere, so let's revert this for now This reverts commit 6c3f59e62a32b670161736dd995a3153837d4c94. --- 2847378868e7db372ea81a30c722bc98f31ca012 diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 5ff504e..af2426e 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -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),