Make menu bar color adapt to wallpaper
novyboy opened this issue · comments
Is your feature request related to a problem? Please describe.
Currently, even when a website with a background is overlaid on top of the desktop with Plash, the menu bar continues to color itself based on the vanilla desktop wallpaper.
Describe the solution you'd like
Add an option that enables you to choose to set menu bar color:
- Dynamically, based on the contents of the web page beneath it (the vanilla menu bar behavior), or
- Based on the
background-color
of thebody
tag or thetheme-color
meta
tag if specified and not transparent, or - Not at all
Describe alternatives you've considered
- Add an input to set menu bar color by choosing with a color picker or by inputing a hex code
- Cache the current vanilla wallpaper and update the wallpaper to a color, gradient, or background decided using the solution, alternate solution above, or some other solution, then reset it to the cached wallpaper on exit
Additional context
The way iWallpaper selects menu bar color is a possible reference for how to do this
iWallpaper works by both setting the actual wallpaper to a static image taken from the video it presents. Plash could potentially do this, but it's not easy as Plash has many more factors to consider. Plash supports transparency and it does not know when the background actually changes (a website could change it dynamically), so Plash would have to constantly poll or risk being outdated.
I guess there could be an opt-in setting for this, but it's not something I plan to work on.