geom
This commit is contained in:
parent
968674d06d
commit
9cbe89d9b5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue