update dynamic border change

This commit is contained in:
projektile 2014-09-27 01:07:19 -04:00
parent 229d0d3860
commit ead527ecdb
1 changed files with 6 additions and 0 deletions

View File

@ -210,6 +210,12 @@ function util.useless_gaps_resize(thatmuch)
awful.layout.arrange(mouse.screen)
end
-- On the fly global border change
function util.global_border_resize(thatmuch)
beautiful.global_border_width = tonumber(beautiful.global_border_width) + thatmuch
awful.layout.arrange(mouse.screen)
end
-- Check if an element exist on a table
function util.element_in_table(element, tbl)
for _, i in pairs(tbl) do