mirror of https://github.com/lcpz/lain.git
added useless gaps change on the fly
This commit is contained in:
parent
2f80ab93e9
commit
9195e2366f
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 |
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue