Set an specific size to a non floating window #2142
-
|
I have a second display where I like to keep two windows with this ratio. RIght now I see myself resizing windows manually, Is there any way to set a shortcut to set this ratio automatically? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
the tiling is strictly set to binary partitioning, there are no custom ratios from what I understand. see here: https://github.com/koekeishiya/yabai/wiki/Commands#move-window |
Beta Was this translation helpful? Give feedback.
-
|
I remembered there's the split ratio option: https://github.com/koekeishiya/yabai/wiki/Configuration#split-ratios But this will apply universally to all screens / spaces, etc. Perhaps it's still of interest |
Beta Was this translation helpful? Give feedback.
-
|
You need to write a script for ratios per monitor |
Beta Was this translation helpful? Give feedback.

Finally I went with this script and map it to a shortcut.