dreamcat4 / skippy-xd

A full-screen Exposé-style standalone task switcher for X11.
GNU General Public License v2.0
100 stars 12 forks source link

Icon customization #164

Open oredaze opened 1 year ago

oredaze commented 1 year ago

It would be very nice if we could customize the application icons. Right now there are a lot of things which have no icon (thus showing a generic white window icon) or the icon is ugly.

A sensible approach would perhaps be for skippy-xd to search the icons from your currently active icon set; from a specified directory or from ~/.icons. Then it would match the WM_CLASS to the file name. For example right now st (the terminal emulator) doesn't have an icon. It's class is st-256color, so the icon name should be st-256color.png.

felixfung commented 1 year ago

Sorry I don't quite understand? I thought if there are no applicable icons then no icon is shown, rather than generic white window icon? Can you please share screenshot?

oredaze commented 1 year ago

2023-07-14-194420_1920x1080_scrot As you can see discord and st have generic icon. I would like to change the other two as well.

dreamcat4 commented 1 year ago

I have seen this sort of issue in [some] DEs... that certain category or type of program does not have "good" or so-called "known" or "valid" icon. Depending on wider system environment....

For example here (in KDE Plasma). I can open Discord (as a flatpak). And the application's icon does display correctly.

So the recommendation (i encourage). Is to try some other program. To display open application icons. (for example like cairo dock, or plank, or others). To see that the issue is not specific, not related to skippy-xd program.

And then solve the issue on the wider system. --> it should then also become fixed within skippy program

oredaze commented 1 year ago

Plank can be controlled by editing the .desktop files. That works fine. There is an other program like skippy called "alttab", it uses your current icon set. That works fine too. I can change the icons on those programs. But I don't know how to change skippy's icons. What files does it read anyway?

felixfung commented 1 year ago

Skippy uses _NET_WM_ICON. Since this is a cosmetic issue (doesn't affect usability) it will be low priority feature request.