But I've only managed to do this using python scripts, see this test extension I made some time ago; but using python or any external library/language is out of question here. To implement this properly, I would need:
some help from people that know the GNOME stack better than me
I need to find how to get the SOURCE of the wallpaper, everything seems hidden under some obscure Meta classes... Else I can load the picture myself from the path, but that's prone to bugs
once I have the picture, I need to simply get the dominant colour out of it: my current method was to scale it to 1px*1px; and then get the colour of this one pixel; however I don't know if it is possible to retrieve such an info from a picture
some time, because I'm too busy for the moment (as you can see by the number of issues I don't even reply to for the moment...)
By the way, https://github.com/aunetx/dominant-color now only uses GNOME stack functions to fetch the wallpaper colour so that may be helpful if anybody want to implement this
Would love to, hehe :)
But I've only managed to do this using python scripts, see this test extension I made some time ago; but using python or any external library/language is out of question here. To implement this properly, I would need:
Meta
classes... Else I can load the picture myself from the path, but that's prone to bugs