-
-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to split a stack when it's the only node in the current bsp tree? #671
Comments
Are you setting the space to stacking mode in order to collect all the windows to a stack? If not, and your space is still in bsp, I wonder if it would work to pop a window off the stack by setting it to floating, then setting it to bsp. That might create a split. Unfortunately, I drunkenly decided to try the Big Sur beta and can't really run Yabai to be able to test right now. |
For item 1, I see that I can set a space to For item 3 and 4 I've got this working, which is nice: |
@Liquidmantis well there's an idea... toggle the window float property twice, forcing it to re-enter bsp as a split, instead of a stacked window That works if the space layout is bsp, but not if the space layout is stack unless i create a rule to stack all newly-created windows... |
Ok, so I've got partial success... If there's no split, it will successfully create a split. and if there is a split, it will move the current window to the region of the eastward window, but won't stack. it will leave the current window floating. I can't figure out why |
You need proper precedence for your commands. This should work:
|
That was exactly what I needed. Thank you so much! For reference, I've now got it set up as a bash script called
so far it's working really well :) |
Also, if you use this code, don't forget |
@alextremblay many thanks for the script. it's working really well |
Hello,
I recently discovered the newly-added stack feature of yabai, and I'm super excited to start using it
I've figured out how to combine all the windows in a given space into a stack, but i'm having trouble figuring out how to split a window off of the stack.
I can see in the documentation for
yabai -m window --stack
it says "Any kind of warp operation performed on a stacked window will unstack it."but when i try to break a window out of the stack into a new split, I try
yabai -m window --warp east
and I getcould not locate a eastward managed window
Basically, the use case I'm trying to achieve is this:
If my use case is doable, I'd love to get any guidance I can on how to accomplish it. Thank you!
The text was updated successfully, but these errors were encountered: