Notify command enhancement

I was thinking of a possible improvement for the “notify” command.

Today - if I’m not wrong - it only recognizes the “hvif” icon files.
However today most of the “icons” in the /system/data/icons/haiku are only in SVG format.

Would it be complex to propose for “notify” to read also the SVG format ?

Below is an example of its usage with a custom HVIF icon

Capture d’écran 2024-11-21 à 16.42.51

1 Like

notify - as good Haiku citizen - uses data translators. Get the NanoSVG translator from HaikuDepot and it already works with SVGs.

Indeed it’s working perfectly !
Thanks

More reasonably we should probably adjust the HVIF translator to output bitmaps in any size, and then adjust Qt and other applications to just use HVIFs instead of SVGs.

2 Likes

BIconUtils can already render HVIF icons at any size, and offers an easier API than translators.

So it should be possilbe to use that if support is added in Qt.