You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing some debugging on trying to find out how to switch spaces in Mission Control programmatically without injecting keystrokes, I found that it is possible to disable / adjust the animation duration for entering / exiting / clicking on a space in Mission Control. This doesn't affect switching spaces without closing Mission Control via keyboard shortcuts, or show desktop, but weirdly affects hide desktop.
Modifications could be made to adjust the timing (original is 0.25).
Note the added mangled version for compatibility (unmangled on 15, mangled on 26, and other variations).
Don't know if method swizzling is something that can / will be part of yabai but here we are.
While doing some debugging on trying to find out how to switch spaces in Mission Control programmatically without injecting keystrokes, I found that it is possible to disable / adjust the animation duration for entering / exiting / clicking on a space in Mission Control. This doesn't affect switching spaces without closing Mission Control via keyboard shortcuts, or show desktop, but weirdly affects hide desktop.
Code for a working dylib PoC:
Modifications could be made to adjust the timing (original is 0.25).
Note the added mangled version for compatibility (unmangled on 15, mangled on 26, and other variations).
Don't know if method swizzling is something that can / will be part of yabai but here we are.
out.mov