Schneegans / Burn-My-Windows

🔥 Disintegrate your windows with style.
GNU General Public License v3.0
2.65k stars 76 forks source link

App-Icon-Dependant Color Values For Effects #134

Open arpringle opened 2 years ago

arpringle commented 2 years ago

The Idea

Now, I'm not sure how difficult this would be to implement (it might not be worth the headache for as minor feature as what I'm suggesting) but here goes:

I really enjoy using the hexagons setting as a window opening effect. However, I think that it would be pretty cool if there was a setting that would let the color of the hexagon outlines be based off of the average color of the icon for the app you are opening. For instance, I launch Firefox and it materializes out of orange hexagons, or launch Tor browser and it materializes from purple hexagons. Theoretically, such a customization option could be applied to all of the effects. Like, the burn effect could show a different color flame depending on what app you are burning away.

There could be radio button selection to let you pick between "use custom colors" or "use app icon colors," for instance. I'm not sure this is even doable, but I figured I'd put it out there.

arpringle commented 2 years ago

I saw the discussion about having per-app effect configurations, and I didn't know if this would be harder or easier to implement than that.

Schneegans commented 2 years ago

This is a pretty awesome idea. I'll see if it's possible!

Schneegans commented 2 years ago

Note for future reference. We may adapt this class for this purpose: https://github.com/home-sweet-gnome/dash-to-panel/blob/master/utils.js#L669