-
Notifications
You must be signed in to change notification settings - Fork 47
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
Script to unstack windows #70
Comments
I have a little script I use to "toggle" stacks (can't remember if I copied this from someone else at this point). #! /usr/bin/env bash
current_layout="$(yabai -m query --spaces --space | jq -re .type)"
target_layout="bsp"
[ "${current_layout}" = "bsp" ] && target_layout="stack"
yabai -m space --layout $target_layout This is triggered in my cmd - m : /Users/usernamehere/.config/yabai/toggle-monocle |
Awesome, thank you 🎉 🙏 |
Here is a one-liner for alt - t : yabai -m space --layout $( [ "$(yabai -m query --spaces --space | jq -re .type)" = 'bsp' ] && echo 'stack' || echo 'bsp' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've recently switched from i3wm on Linux to yabai+stackline+skhd, so I'm kind of new to this. I have configured a keybinding to stack a window with the next one via:
However, I can't seem to find any docs on how this can be undone i.e. how can I "unstack" windows.
The text was updated successfully, but these errors were encountered: