mirror of https://github.com/lcpz/lain.git
Merge pull request #65 from projektile/master
update dynamic border change
This commit is contained in:
commit
a23bd7d49b
|
@ -210,6 +210,12 @@ function util.useless_gaps_resize(thatmuch)
|
||||||
awful.layout.arrange(mouse.screen)
|
awful.layout.arrange(mouse.screen)
|
||||||
end
|
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
|
-- Check if an element exist on a table
|
||||||
function util.element_in_table(element, tbl)
|
function util.element_in_table(element, tbl)
|
||||||
for _, i in pairs(tbl) do
|
for _, i in pairs(tbl) do
|
||||||
|
|
Loading…
Reference in New Issue