you can't replace windowserver. period.
How yabai and amethyst work is by using bits of accessibility and other APIs, though Yabai also injects some bits into Dock binary I believe.
How yabai and amethyst work is by using bits of accessibility and other APIs, though Yabai also injects some bits into Dock binary I believe.