geom
This commit is contained in:
parent
968674d06d
commit
9cbe89d9b5
|
@ -15,6 +15,13 @@ geoms.p1080 = function ()
|
||||||
}
|
}
|
||||||
end
|
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 ()
|
geoms.p720 = function ()
|
||||||
return {
|
return {
|
||||||
width=awful.screen.focused().workarea.width * 0.40,
|
width=awful.screen.focused().workarea.width * 0.40,
|
||||||
|
@ -59,7 +66,7 @@ end
|
||||||
|
|
||||||
|
|
||||||
geoms.clients = {}
|
geoms.clients = {}
|
||||||
geoms.clients["Subl"] = geoms.p1080
|
geoms.clients["Subl"] = geoms.p1280
|
||||||
geoms.clients["Byobu"] = geoms.p720
|
geoms.clients["Byobu"] = geoms.p720
|
||||||
geoms.clients["Krom"] = geoms.crt43
|
geoms.clients["Krom"] = geoms.crt43
|
||||||
geoms.clients["Google-chrome"] = 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.maximized_vertical = reset.vertical
|
||||||
w.direction = reset.direction
|
w.direction = reset.direction
|
||||||
end
|
end
|
||||||
|
|
||||||
w:geometry(c:geometry())
|
w:geometry(c:geometry())
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue