awesome-hammerspoon icon indicating copy to clipboard operation
awesome-hammerspoon copied to clipboard

Can window be set to two-thirds and one-third of the screen?

Open HomelandScenery opened this issue 7 years ago • 1 comments

Thank you for your work. I want to set it to one window to the left of the third, and the other window to the right of two-thirds, I hope to help. Thank you!

能否设置窗口为屏幕的三分之二和三分之一? 多谢作者你的工作。 我希望设置为一个窗口占左边三分之一,另一个窗口占右边三分之二,希望帮助。谢谢!

HomelandScenery avatar Jan 06 '19 03:01 HomelandScenery

We can't resize the window to one-third or two-thirds by one step right now, but there is a workaround. Since internally the screen is divided into 30 parts, we can first resize the window to half, then stepResize it by five times. That is, key strokes like hLLLLL eventually make current window to occupy two-thirds of the screen.

Hope this could solve your problem. :-)

ashfinal avatar Jan 09 '19 02:01 ashfinal