From: luke bonham Date: Wed, 18 Sep 2013 13:58:17 +0000 (+0200) Subject: added useless gaps change on the fly X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/9195e2366f030dc2d15ba9ae6f27ba250f92e375?ds=inline added useless gaps change on the fly --- diff --git a/icons/layout/default/browse.png b/icons/layout/default/browse.png deleted file mode 100644 index c063ca0..0000000 Binary files a/icons/layout/default/browse.png and /dev/null differ diff --git a/icons/layout/default/browsew.png b/icons/layout/default/browsew.png deleted file mode 100644 index 9b0b2b3..0000000 Binary files a/icons/layout/default/browsew.png and /dev/null differ diff --git a/icons/layout/default/gimp.png b/icons/layout/default/gimp.png deleted file mode 100644 index 207ab40..0000000 Binary files a/icons/layout/default/gimp.png and /dev/null differ diff --git a/icons/layout/default/gimpw.png b/icons/layout/default/gimpw.png deleted file mode 100644 index 35fd10e..0000000 Binary files a/icons/layout/default/gimpw.png and /dev/null differ diff --git a/icons/layout/zenburn/browse.png b/icons/layout/zenburn/browse.png deleted file mode 100644 index f0bd177..0000000 Binary files a/icons/layout/zenburn/browse.png and /dev/null differ diff --git a/icons/layout/zenburn/gimp.png b/icons/layout/zenburn/gimp.png deleted file mode 100644 index ded8e62..0000000 Binary files a/icons/layout/zenburn/gimp.png and /dev/null differ diff --git a/util/init.lua b/util/init.lua index 26f50ae..c0545b6 100644 --- a/util/init.lua +++ b/util/init.lua @@ -171,4 +171,12 @@ function util.prompt_rename_tag(mypromptbox) end) end +-- On the fly useless gaps change +function util.useless_gaps_resize(thatmuch) + if beautiful.useless_gap_width then + beautiful.useless_gap_width = tonumber(beautiful.useless_gap_width) + thatmuch + awful.layout.arrange(mouse.screen) + end +end + return setmetatable(util, { __index = wrequire })