luisbocanegra / plasma-panel-colorizer

Latte-Dock and WM status bar customization features for the default KDE Plasma panel
https://store.kde.org/p/2130967
GNU General Public License v3.0
226 stars 3 forks source link

[Feature Request]: Option to auto apply mask to system tray icons #121

Open CcMenta opened 1 week ago

CcMenta commented 1 week ago

I have:

Is your feature request related to a problem? Please describe. There are a lot of programs that add system tray icons but they don't have the same color as the other ones.

Describe the solution you'd like When a new system tray icon appears the mask is automatically applied.

luisbocanegra commented 1 week ago

While this may seem like a good idea at first, it depends on what kind of icons these apps put in the system tray, symbolic ones look fine but regular ones do not.

If you still want to do this for all icons in the tray you can already do that by forcing colors for the tray widget:

Screenshot_20241110_170325

But this has some drawbacks

Take for example the Discord, Element (matrix client) and Thunderbird, applying the mask to these makes the icon look like a solid single-color shape, not good:

append-2024-11-10-165551

For these icons the Color effect is would be a better approach:

Screenshot_20241110_165217

But there is no reliable way to detect which kind of colorization method fits better so the decision is up to the users.

luisbocanegra commented 1 week ago

The good thing is that the decision is remembered and can be exported and imported between widgets so you should only need to do it once for every new app.

luisbocanegra commented 1 week ago

Other problem that I just noticed is that electron apps currently appear all as the same app with id chrome_status_icon_1 and I should fix that