Skip to content
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

Send window and follow focus using space label #2305

Closed
szfkamil opened this issue May 31, 2024 · 1 comment
Closed

Send window and follow focus using space label #2305

szfkamil opened this issue May 31, 2024 · 1 comment

Comments

@szfkamil
Copy link

yabai can follow focus for a window if ^ is present before number in a space rule, eg. ^5

I tried adding a space label so that all windows bound to that space also follow focus:

yabai -m space ^5 --label media

This produced:

unknown command '^5' for domain 'space'

Is there a way to use labels for spaces so that you can assign labels instead of <SPACE_SEL> (which is just an alias)

So you can: yabai -m rule --add app="^Music$" manage=off space=media
Instead of: yabai -m rule --add app="^Music$" manage=off space=^5

To send window and follow focus?

@koekeishiya
Copy link
Owner

yabai -m space 5 --label media

yabai -m rule --add app="^Music$" manage=off space=^media

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants