Dynamic icons on Linux
It seems that dynamic icons can be implemented on Linux by using the xdg-toplevel-icon Wayland protocol, as well as the _NET_WM_ICON Extended Window Manager Hint on X11.
Both protocols allow one to simply upload an ARGB texture buffer to the compositor/window manager, and we can obtain that by implementing the same rasterization logic as done in macOS, albeit in Zig with z2d. Sadly, z2d currently lacks gradients and a handful of blend modes that would be required to achieve complete feature parity with macOS.
Again, GNOME Wayland wouldn't work, but that's sort of a running theme by now...
Cc @vancluever: any idea when work might start on implementing those missing z2d features? There's no pressure, just want to know what your plans are
@pluiedev I think soon actually! No promises but I haven't forgotten about it after seeing the chatter in the Discord. I'll throw it in the issue tracker too.
@pluiedev v0.6.0 is now officially out with the gradient and blend mode support! Let me know if yall have any issues when yall start diving in.
https://github.com/vancluever/z2d/blob/v0.6.0/CHANGELOG.md for more details!