Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic icons on Linux #4625

Open
pluiedev opened this issue Jan 5, 2025 · 2 comments
Open

Dynamic icons on Linux #4625

pluiedev opened this issue Jan 5, 2025 · 2 comments
Labels

Comments

@pluiedev
Copy link
Contributor

pluiedev commented Jan 5, 2025

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...

@pluiedev
Copy link
Contributor Author

pluiedev commented Jan 5, 2025

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

@vancluever
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants