koekeishiya / yabai

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

scripting addition can't be loaded after sleep #2327

Closed szfkamil closed 1 month ago

szfkamil commented 3 months ago

After computer wakes up from sleep, the scripting-addition stops working. Only a full restart of the machine gets it to work again.

Here's what I've tried:

yabai --restart-service yabai --stop-service followed by --yabai-start-service sudo yabai --load sa after or before each of the following rm /tmp/yabai* and rm /tmp/ya* after or before each of the following

In issue #1979 the solution was loading the scripting addition, but this does not work.

I have done extensive troubleshooting and this is a scripting-addition issue. I just have no idea why the issue occurs and what next steps would be.