Replies: 1 comment
-
I have decided to investigate the behaviour myself and have some notes that might be helpful for future readers. Please feel free to point out any mistakes and make suggestions. If window gets opened and has space rule assigned with yabai, it briefly flashes on current space and gets sent to the assigned space (would be nice to know how to prevent this flash) If a window is assigned to space via the dock.app, and you have the option “When switching to an application, switch to Space with open windows for the application” under Desktop & Dock enabled, it will open on the assigned space with focus. If a window is assigned to the same space per dock and yabai, they will not conflict. However, I have not investigated the case where space rule and space assignment differ. In this case, the window will not 'flash' on current space and will behave as if the yabai space rule were not there at all. The only practical difference between yabai and dock, is that yabai allows per-window assignment with RegEx, whereas dock.app assigns apps per space. Note: Perhaps it is worth investigating what happens if you have different space rules for windows of a specific application and dock assignments for that app. Apart from that, having a structured Furthermore, with yabai, the windows briefly flash and do not focus the window once it is opened. If you are not on the space the window is assigned to, you have to go to that space first and focus the app, or 'launch' it the second time (if you have “When switching to an application, switch to Space with open windows for the application” enabled) This is just my investigation of the behaviour on yabai v7.1.0 |
Beta Was this translation helpful? Give feedback.
-
There exists overlap between native OS functionality and yabai. Specifically, I'd like to touch on the space rule, as well as the assign to space option from Dock.
The
space
rule simply sends the window to space.Send window to space. If ^ is present, follow focus.
The assign to space function in dock seems to always open the window in that space. What's the difference between both functionalities? Is it a bad idea to have both enabled per app?
Should space assignments be done via the dock or yabai. Why, why not?
Beta Was this translation helpful? Give feedback.
All reactions