If anything, this leads to more fragmentation since now you have to hack your own way to control it, rather than using something standard (at least on Linux) like dbus.
If anything, this leads to more fragmentation since now you have to hack your own way to control it, rather than using something standard (at least on Linux) like dbus.
(P.S.: I suspect Swaysock might've never existed if it were not for the fact that Sway is more or less a direct recreation of i3wm as a Wayland compositor; it is the equivalent of i3 IPC. You can and should just use Wayland protocols even in Sway where possible.)
What standard? Other compositors have their own specific protocol to talk to it even if it's done other dbus.
Meanwhile, every Wayland compositor speaks at least the core Wayland protocols and probably some of the extensions, and they all go through the same standardization process, whereas there's certainly no such process for DBus or random UNIX domain sockets based protocols. It's simpler to just use Wayland protocols where possible.