whatsie icon indicating copy to clipboard operation
whatsie copied to clipboard

Add monocrome tray icons

Open geser2008 opened this issue 2 years ago • 5 comments

Hello. Please add monochrome tray icons for light and dark panel background. I'm running v.4.9 build from AUR on Manjaro. Thank you.

geser2008 avatar Nov 30 '22 05:11 geser2008

My amateur DIY attempts: 😉

  1. I first tried the easy way: replacing some color app icons with monochrome ones, but it didn't work. The hicolor icon theme (/usr/share/icons/hicolor) has a color icon named com.ktechpit.whatsie in five different sizes as well as scalable, but also a monochrome icon named com.ktechpit.whatsie-symbolic, but they are not used in systray (so, replacing those color icons or adding monochrome icons to ~/.local/share/icons/hicolor has no effect).

  2. I then tried building Whatsie from source after replacing whatsapp-message-32.png and whatsapp-message.svg in subdirectory ./src/icons/app/ with monochrome ones, and doing the same for all icons in subdirectory ./src/icons/app/notification/ which made some difference as can be seen in the screenshot below! I'm also attaching the monochrome icons I've used in a compressed file below. whatsie-notify whatsie-src-icons-app.tar.gz

EDIT: It seems you only need to change the icons n subdirectory ./src/icons/app/notification/, leaving whatsapp-message-32.png and whatsapp-message.svg in subdirectory ./src/icons/app/ intact.

Sadi58 avatar Nov 10 '23 10:11 Sadi58

In case you still need this, changing all icons icon-XY.png and also all icons at whatsie/src/icons/app/notification/whatsie-notify-XY.png managed to get a monochrome icon: image

here's my icons, you can change the notification bubble color and the icon color to make it suitable for your theme if you want to: app.tar.gz just replace the whole whatsie/src/icons/app dir with the content of the tar.gz and build it

tubbadu avatar Nov 15 '23 22:11 tubbadu

@tubbadu I think we only need to change the icons in subdirectory ./src/icons/app/notification/ to get monochrome icons in systray, and those in ./src/icons/app/ are app icons, which might be left intact - even including whatsapp-message-32.png and whatsapp-message.svg which probably change the app icon (when Whatsie window is not minimized, i.e. displayed in Task Manager). Am I right?

Sadi58 avatar Nov 16 '23 08:11 Sadi58

It would be really nice if this app would get its icons from the icon theme.

allan-null avatar Jun 12 '24 18:06 allan-null

@allan-null Yes, it would be much better if the status icons were placed in e.g. "/usr/share/icons/hicolor/22x22/status" just like the app icons placed in "/usr/share/icons/hicolor/[64x64|128x128|512x512]/apps". This would also make it much easier to use monochrome dark/light variations as well.

Sadi58 avatar Jun 21 '24 07:06 Sadi58