]> git.rmz.io Git - dotfiles.git/commitdiff
apparently it's better to put this in global keys
authorSamir Benmendil <samir.benmendil@gmail.com>
Thu, 4 Jul 2013 05:50:24 +0000 (07:50 +0200)
committerSamir Benmendil <samir.benmendil@gmail.com>
Thu, 4 Jul 2013 05:50:24 +0000 (07:50 +0200)
awesome/bindings.lua

index 20e81a76c5de4f9e3d81c71675be7bb6fce5f0f6..340786ef3a0419124fcb32000535883d094e2659 100644 (file)
@@ -73,6 +73,9 @@ globalkeys = awful.util.table.join(
     -- switch layout
     awful.key({ modkey }, "]", function () awful.layout.inc(layouts,  1) end),
     awful.key({ modkey }, "[", function () awful.layout.inc(layouts, -1) end),
     -- switch layout
     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),
     -- Ksnapshot
     awful.key({        }, "F13", function () awful.util.spawn("ksnapshot") end),
     -- Layout manipulation
     -- Ksnapshot
     awful.key({        }, "F13", function () awful.util.spawn("ksnapshot") end),
     -- Layout manipulation
@@ -118,10 +121,7 @@ clientkeys = awful.util.table.join(
     awful.key({ modkey, "Shift" }, "#94",      awful.client.movetoscreen ),
     -- ontop and below
     awful.key({ modkey,           }, "t",      function (c) c.ontop = not c.ontop            end),
     awful.key({ modkey, "Shift" }, "#94",      awful.client.movetoscreen ),
     -- ontop and below
     awful.key({ modkey,           }, "t",      function (c) c.ontop = not c.ontop            end),
-    awful.key({ modkey,           }, "b",      function (c) c.below = not c.below            end),
-    -- resize slave
-    awful.key({ modkey, "Control" }, "j",      function (c) awful.client.incwfact( 0.05, c)  end),
-    awful.key({ modkey, "Control" }, "k",      function (c) awful.client.incwfact(-0.05, c)  end)
+    awful.key({ modkey,           }, "b",      function (c) c.below = not c.below            end)
     -- }}}
 )
 -- }}}
     -- }}}
 )
 -- }}}