Skip to content
Discussion options

You must be logged in to vote

A simple one-liner will suffice.
For setting the space layout:

[ "$(yabai -m query --spaces --space | jq -r '.type')" = "stack" ] && yabai -m space --layout bsp

For the global layout:

[ "$(yabai -m config layout)" = "stack" ] && yabai -m config layout bsp

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@es183923
Comment options

@molleweide
Comment options

@es183923
Comment options

@molleweide
Comment options

@molleweide
Comment options

Answer selected by molleweide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants