added useless gaps change on the fly

This commit is contained in:
luke bonham 2013-09-18 15:58:17 +02:00 committed by copycat-killer
parent 2f80ab93e9
commit 9195e2366f
7 changed files with 8 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -171,4 +171,12 @@ function util.prompt_rename_tag(mypromptbox)
end) end)
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 }) return setmetatable(util, { __index = wrequire })