LennardKittner / HyperXCloudIIWireless

A CLI and tray application to monitor HyperX Cloud II Wireless headset battery level.
MIT License
16 stars 4 forks source link

tray application icon #2

Closed gustavomassa closed 4 months ago

gustavomassa commented 1 year ago

Hello, first thank you very much for this awesome contribution.

I'm having an issue with the tray application icon, where the headset icon is located/loaded on the code? I'm using the release version, already compiled binary. image

LennardKittner commented 1 year ago

Hi, thank you for using my app. The image is loaded here. I'm using a crate called ksni to implement the system tray. Ksni's documentation does not say much, but I think it just uses KDE/Freedesktop default icons.

ddm90 commented 4 months ago

I solved this in my Linux Mint 21.3 Cinnamon by downloading a PNG headset icon (120x120 in resolution , but less resolution should work too at least until 48x48), rename it to headset.png , and with elevated privileges (' sudo nemo ', or whatever file manager app you use), move it to the ' /usr/share/pixmaps ' folder. Then restart the system tray app.

I'll attach the PNG i used, but you can use whatever image you want. headset

LennardKittner commented 4 months ago

Nice. I am happy that the issue got resolved. Thank you for posting a solution.