Closed oknozor closed 2 years ago
I think we could cache the favicon from each and show that
Do you mean on client side or via pop-launcher ?
The plugin
Would you want the url to the favicon to be sent or the raw image ?
The plugin can download the favicon to ~/.cache/pop-launcher/
, and give the path to the icon to the launcher.
I will try to implement this, do you have a http client of choice or reqwest would do ?
Likely isahc
since it doesn't require tokio
and uses the system's native libcurl
.
Unsure how much of a difference in binary size that reqwest makes compared to isahc.
I can try both implem and run cargo bloat if you want
I would be nice to have an optional per rule icon for the web plugin, falling back to the default one when not specified :