From 1dddcbffbca9f036e3f773a69f4078653b01d8ca Mon Sep 17 00:00:00 2001 From: luke bonham Date: Wed, 18 Sep 2013 16:00:30 +0200 Subject: [PATCH] lain: new commit --- lain | 2 +- rc.lua.blackburn | 4 ++++ rc.lua.dremora | 4 ++++ rc.lua.holo | 4 ++++ rc.lua.rainbow | 4 ++++ 5 files changed, 17 insertions(+), 1 deletion(-) diff --git a/lain b/lain index f31c5cc..c397afd 160000 --- a/lain +++ b/lain @@ -1 +1 @@ -Subproject commit f31c5cc856640aa4cd5a7299974ba02abacd95a7 +Subproject commit c397afd0c78e2bc708d6dd6f8d6ea778e3c4a7d4 diff --git a/rc.lua.blackburn b/rc.lua.blackburn index 71b0a52..7d07084 100755 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -420,6 +420,10 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end), awful.key({ modkey, "Control" }, "n", awful.client.restore), + -- On the fly useless gaps change + awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end), + awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end), + -- Standard program awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end), awful.key({ modkey, "Control" }, "r", awesome.restart), diff --git a/rc.lua.dremora b/rc.lua.dremora index 0740fb6..eefe18f 100755 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -416,6 +416,10 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end), awful.key({ modkey, "Control" }, "n", awful.client.restore), + -- On the fly useless gaps change + awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end), + awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end), + -- Standard program awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end), awful.key({ modkey, "Control" }, "r", awesome.restart), diff --git a/rc.lua.holo b/rc.lua.holo index aaee5b5..972dcdf 100755 --- a/rc.lua.holo +++ b/rc.lua.holo @@ -551,6 +551,10 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end), awful.key({ modkey, "Control" }, "n", awful.client.restore), + -- On the fly useless gaps change + awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end), + awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end), + -- Standard program awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end), awful.key({ modkey, "Control" }, "r", awesome.restart), diff --git a/rc.lua.rainbow b/rc.lua.rainbow index 95fd63d..d2b0767 100755 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -415,6 +415,10 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end), awful.key({ modkey, "Control" }, "n", awful.client.restore), + -- On the fly useless gaps change + awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end), + awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end), + -- Standard program awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end), awful.key({ modkey, "Control" }, "r", awesome.restart),