I am trying to patch Google Play Music Desktop Player to use the correct icon colors in the wingpanel indicator. More specifically I need to know if it should use dark icon on a light background or vice-versa.
I tried to understand how this happens by reading the source code for gala, wingpanel and the official power and sound indicators. There are too many things I don't know, so I didn't make much progress that way.
The application itself supports inverting the icon colors from the settings, but:
- it's manual
- it's a problem if you have dark icons on light background and also have maximized windows in some of your workspaces.