-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add cmd --balance to yabai -m window [<WINDOW_SEL>] #190
Comments
More generally speaking, would it make sense to allow some space commands to operate on window trees (and subtrees)? These commands would then work on windows (operating on the subtree that has the selected window as its root) and on the space (operating on the root node). |
I am not against having commands that allow operations (that make sense) on intermediate nodes, however I think that should be a separate domain of commands and selectors, if that is ever to become a thing. I have thought about this since the middle stages of chunkwm, but was never able to come up with a simple and expressive syntax for the user to select a specific node in the tree using a cli, that I liked. I don't think a balance command makes sense for the window domain, where we exclusively refer to windows (aka leaf nodes). Balancing a leaf node does not make sense. |
I am still interested in doing something here. What I want to do is have some commands in the |
What you want is |
I can add |
Implemented auto_balance modification on master. Is this good enough to consider this issue resolved? |
Consider following layout (
W1
has a larger width thanW2
-W4
and split type ofW3
andW4
is toggled from vertical to horizontal)I want to equalize the heights of
W2
,W3
,W4
i.e. the layout should become on invocation ofyabai -m window [W2] --balance
when
W2
is active or explicitly specified. Just to be sure: the size ofW1
should NOT change.In other words balance current node with all its children.
Afaik, bspwm offers
The text was updated successfully, but these errors were encountered: