This commit is contained in:
anakha 2021-07-07 14:26:28 -04:00
parent 968674d06d
commit 9cbe89d9b5
2 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,13 @@ geoms.p1080 = function ()
}
end
geoms.p1280 = function ()
return {
width=awful.screen.focused().workarea.width * 0.75,
height=awful.screen.focused().workarea.height * 0.90
}
end
geoms.p720 = function ()
return {
width=awful.screen.focused().workarea.width * 0.40,
@ -59,7 +66,7 @@ end
geoms.clients = {}
geoms.clients["Subl"] = geoms.p1080
geoms.clients["Subl"] = geoms.p1280
geoms.clients["Byobu"] = geoms.p720
geoms.clients["Krom"] = geoms.crt43
geoms.clients["Google-chrome"] = geoms.crt43

View File

@ -831,6 +831,7 @@ function resize_region_to_client(c, reset)
w.maximized_vertical = reset.vertical
w.direction = reset.direction
end
w:geometry(c:geometry())
end
end