removing border on maximize
This commit is contained in:
parent
c1a8b3593e
commit
ea419cd05d
1 changed files with 5 additions and 0 deletions
5
rc.lua
5
rc.lua
|
@ -433,6 +433,11 @@ clientkeys = awful.util.table.join(
|
||||||
function (c)
|
function (c)
|
||||||
c.maximized_horizontal = not c.maximized_horizontal
|
c.maximized_horizontal = not c.maximized_horizontal
|
||||||
c.maximized_vertical = not c.maximized_vertical
|
c.maximized_vertical = not c.maximized_vertical
|
||||||
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
|
c.border_width = 0
|
||||||
|
else
|
||||||
|
c.border_width = beautiful.border_width
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue