koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning
MIT License
23.31k stars 642 forks source link

Yabai manage=off is not working. #2336

Closed shopifykingbd closed 1 week ago

shopifykingbd commented 3 months ago

I have added few rules into my mac yabairc file to top yabai for System settings, Finder and so on but looks like it's not working. May I know the reason why it's not working?

yabai -m rule --add app="^System Settings$" manage=off yabai -m rule --add app="^Calculator$" manage=off yabai -m rule --add app="^Friendly Streaming$" manage=off yabai -m rule --add app="^Finder$" manage=off yabai -m rule --add app="^Messenger$" manage=off yabai -m rule --add app="^Notion$" manage=off

mcgilly17 commented 3 months ago

Not sure why, but I cannot for the life of me get 1password to be manage=off. All other apps are working for me right now.

Bellavene commented 3 months ago

I have added few rules into my mac yabairc file to top yabai for System settings, Finder and so on but looks like it's not working. May I know the reason why it's not working?

Move rules up in .yabairc and add this to the end of it yabai -m rule --apply

Not sure why, but I cannot for the life of me get 1password to be manage=off. All other apps are working for me right now.

Try to query info about the window, you have three seconds to focus the window after executing this command sleep 3; yabai -m query --windows --window Then look the at the title, role and subrole in the output. Here is an example for a rule:

yabai -m rule --add app="^Adobe.*$" \
         role="AXLayoutArea" \
         subrole="AXFloatingWindow" \
         title="my title" \
         manage=off \
         display=^1 \
         grid=1:1:0:0:1:1
mcgilly17 commented 3 months ago

Thanks @Bellavene! Making it more specific has done the trick. Also having to rm the /tmp directory for anytthing yabai related semi regularly atm which also got things working again!

capitanBOBO commented 3 months ago

Same issue here, added yabai -m rule --apply at the end of list of rules and looks like it's helped and everything working now.

alptugan commented 2 months ago

Adding yabai -m rule --apply to the end of the config file resolve the problem for me. Thanks @Bellavene ✌🏻

shopifykingbd commented 1 week ago

Adding yabai -m rule --apply to the end and working. Thanks @Bellavene ✌🏻