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

Yabai manage=off window not working #2135

Closed
MrNeth opened this issue Mar 2, 2024 · 3 comments
Closed

Yabai manage=off window not working #2135

MrNeth opened this issue Mar 2, 2024 · 3 comments

Comments

@MrNeth
Copy link

MrNeth commented Mar 2, 2024

since the update the following is not working

yabai -m rule --add app="^System Preferences$" manage=off border=off
yabai -m rule --add app="^System Settings$" manage=off border=off
yabai -m rule --add app="^Archive Utility$" manage=off border=off
yabai -m rule --add app="^Activity Monitor$" manage=off border=off
yabai -m rule --add app="^Finder" manage=off border=off
yabai -m rule --add app="^Carpe$" manage=off border=off

also this doesnt work for visual studio code specifically:

yabai -m rule --add app="Visual Studio Code" space=5

@MrNeth MrNeth changed the title Yabai manage window not working Yabai manage=off window not working Mar 2, 2024
@MrNeth
Copy link
Author

MrNeth commented Mar 2, 2024

update

This seems to work:

yabai -m rule --add app!="^(Google Chrome|Visual Studio Code|Brave Browser|WhatsApp|Telegram|)$" manage=off

still have an issue where yabai ignores VS Code

@merlinvn
Copy link

This config works for me.

yabai -m rule --add app=Code space=^4

To see the proper name for an app, you can use:

yabai -m query --windows --space 4

@koekeishiya
Copy link
Owner

koekeishiya commented Mar 11, 2024

If something isn't working. Run the command in a terminal session to get feedback, or look in the logs associated with the service instance (/tmp/yabai_$USER.[err|out].log).

In your first case, the problem is that you provide an invalid property border that was removed half a year ago, making all these rules invalid. This will be reported in an error message in stderr.

Also not all applications use their full name as the actual name of the software. Use yabai queries to identify the correct name to use in rules.

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

3 participants