added useless gaps change on the fly

This commit is contained in:
luke bonham 2013-09-18 15:58:17 +02:00
parent f31c5cc856
commit c397afd0c7
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
-- 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 })