cbatticon icon indicating copy to clipboard operation
cbatticon copied to clipboard

Please add option to white icons

Open Josse4Cats opened this issue 3 years ago • 6 comments

Hi team

Sorry I have try to make the icon white and i dont´t find any way for this ..

Josse4Cats avatar Nov 29 '22 16:11 Josse4Cats

Well it's now June 2023 and you received no reply. I don't think the dev checks the issues page.

I also need to make the icon white. With the popularity of dark themes it's crazy there's apparently no battery monitors we can use!

kbhors avatar Jun 10 '23 23:06 kbhors

Hi @Josse4Cats, @kbhors, I must admit I forgot to reply to this, indeed.

I'm not sure how the have the icons white. The tool only refers to existing icon sets installed on the machine. It doesn't apply any change on them, and the gtk_status_icon_xxx functions don't seem such option available.

Would you know any tool having such option so that I could look at the code how it's done? Thanks

valr avatar Jun 11 '23 18:06 valr

Could you try if the merged code https://github.com/valr/cbatticon/pull/55 makes any difference to this issue? Thanks

valr avatar Jun 11 '23 21:06 valr

Hi @Josse4Cats, @kbhors, I must admit I forgot to reply to this, indeed.

I'm not sure how the have the icons white. The tool only refers to existing icon sets installed on the machine. It doesn't apply any change on them, and the gtk_status_icon_xxx functions don't seem such option available.

Would you know any tool having such option so that I could look at the code how it's done? Thanks

Eventually I gave up and simply changed the icon set. Which is a shame, because I don't see why icon sets should have anything to do with systray items. Icons are for files and folders. A systray item is fundamentally a button.

kbhors avatar Jun 11 '23 21:06 kbhors

@Josse4Cats, @kbhors, Would you have the possibility to test if the code that has been merged (PR #55) makes any difference to this issue?

The original explanation for the PR #55 is the following: "Currently cbatticon does not use the system configured Icons and Theme (.config/gtk-3.0/settings.ini). On my system this has the effect, that icons appear in the wrong color (dark icon on dark background)" So, it may be related.

valr avatar Jun 12 '23 19:06 valr

Bit late to the party but I am having the same issue, Openbox running tint2 I have dark icon on a dark background. i3wm it works fine. As a workaround I have a coloured background in this case green. Really would like icon colour to be either white or add an option. If you need any output then please let me know.

mrgreen3 avatar Sep 24 '23 12:09 mrgreen3