cassidyjames / principles

Remember Dieter Rams' ten principles of good design
https://cassidyjames.com
GNU General Public License v3.0
39 stars 11 forks source link

Auto set color based on area beneath window #15

Open cassidyjames opened 6 years ago

cassidyjames commented 6 years ago

It looks like I can use the Gala DBus API to get the color and contrast of the rectangle below the window. That could be handy to automatically set the window color, though I'd have to figure out the UI for auto/light/dark.

cassidyjames commented 6 years ago

https://github.com/elementary/wingpanel/blob/ce82b438a7dcdabaeff4c4559ed5562667b243e1/wingpanel-interface/BackgroundManager.vala#L137

cassidyjames commented 6 years ago

image