Do you have to muss around with Window classes to get a proper icon in alt-tab when doing web apps in Firefox?
I played on your script as well here is the result I went through a lot of iterations.
- I replaced the “manual” creation of profiles with the built-in one from nix.
- I had a hard time, getting correct icons to work. they now work in the taskbar, but not when using alt-tab
- added a downloader script which downloads the favicons in order to have them in the start menu.
- multiple apps/per profile. because I haven’t found a way to automatically create persistent profile IDs. hashing the webapp names would be possible. But creates very large IDs making them shorter risks id collisions. not sure if that even works.
here is the link: download_icons.sh · GitHub
yes… I am struggling with this as well… maybe you’d like to have a look at my script:
it downloads icons for use in the desktop files and the desktop files set the corresponding WM_CLASS so that the icon doesn’t revert back to the firefox default. But I am not sure how all of this works. It was a lot of tinkering. I am not sure if there is a better way to do it… I didn’t find a way to do this with the firefox settings/configuration which would be ideal if firefox could just set its own icon.