I would like to add a Flatpak program to the toolbar by editing ~/.icewm/toolbar file.

What I noticed is when I add a native package, I only need to provide the name of the icon.

I tried the same with Flatpaks, provided the same icon name that’s provided in their desktop entry file (basically the package name) but it doesn’t work that way, I have to search for the icon in various subdirectories and provide the full path to make it work.

Edit: I noticed that Flatpak icons don’t appear in menu either.

Isn’t there a more practical way to make the icon of Flatpak programs appear on IceWM toolbar/menu?