Hi guys,

Is it possible to push any window (no matter tiled or in floating mode) to 
center and set it's window size, let's say 70% of screen horizontally and 
80% vertically? It is very handy if there is a webpage with a lot of text 
or if I'm using ultrawide monitor, so the window comes to center with 
comfortable size. Additionally it would be great if there is a toggle 
function, so it pushes window back to it's previous state. 

PS in AwesomeWM I used simply function to achieve this (but it's in LUA):

function (c)
c.floating = not c.floating
c.width = c.screen.geometry.width*3/5
c.x = c.screen.geometry.x+(c.screen.geometry.width/5)
c.height = c.screen.geometry.height * 0.93
c.y = c.screen.geometry.height* 0.04
end)

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/76d9f849-2f91-4cf9-802d-a8710f430e15n%40googlegroups.com.

Reply via email to