From 5392da7424efcb7910a98954e585848ca76b7139 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 4 Jul 2013 07:25:18 +0200 Subject: [PATCH] increase slave size with keyboard --- awesome/bindings.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/awesome/bindings.lua b/awesome/bindings.lua index a6a58b3..20e81a7 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -33,8 +33,6 @@ globalkeys = awful.util.table.join( -- Layout manipulation awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end), awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end), - awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end), - awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end), awful.key({ modkey, }, "u", awful.client.urgent.jumpto), awful.key({ modkey, }, "Tab", function () @@ -120,7 +118,10 @@ 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, }, "b", function (c) c.below = not c.below 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) -- }}} ) -- }}} -- 2.48.1