Implementing a plasma colorscheme generator

Andrew aparker314159 at gmail.com
Sat Aug 5 15:10:59 UTC 2017


On Friday, August 4, 2017 8:16:57 PM EDT Andrew wrote:
> On Friday, August 4, 2017 7:03:43 PM EDT Aleix Pol wrote:
> > On Fri, Aug 4, 2017 at 5:13 PM, Andrew <aparker314159 at gmail.com> wrote:
> > >> > On donderdag 3 augustus 2017 18:45:24 CEST Aleix Pol wrote:
> > >> >> On Thu, Aug 3, 2017 at 5:48 PM, Marco Martin <notmart at gmail.com> wrote:
> > >> >>
> > >> >>
> > >> >> > On Thursday 03 August 2017 11:51:08 Sebastian Kügler wrote:
> > >> >>
> > >> >>
> > >> >>
> > >> >> >> Perhaps a nice addition to plasma-sdk? We already have cuttlefish,
> > >> >> >> theme explorer, and the Look and Feel creator thing there, a color
> > >> >> >> scheme creation tool looks right up its alley...
> > >> >>
> > >> >>
> > >> >>
> > >> >> > theme explorer has a color scheme editor too, so you can just have it
> > >> >> > as a feature of theme-explorer
> > >> >>
> > >> >> I'd say the use-case for such a program is to be able to change the
> > >> >> color scheme as the background image changes, not something people
> > >> >> will want to use because they can't actually create a color scheme.
> > >> >
> > >> > Right. So this could be an option in the Colors KCM, but then it should be
> > >> > triggered by wallpaper changes, which also means by Activity changes.
> > >> > Also, what about multiscreens? They have different wallpapers...
> > >>
> > >> *Shrug* :)
> > >>
> > >> Andrew?
> > >>
> > >
> > > Currently the program generates a colorscheme file, that can then be selected
> > > in the Colors KCM. I think it would be best to add it as an option to the KCM,
> > > since changing the colorscheme with the background would get distracting and
> > > hard to do.
> > >
> > > What I think I'll do is make it so you choose a single image to generate a
> > > colorscheme from, which is then placed in the local directory of colorschemes
> > > and is selected in the colors KCM.
> > 
> > Then maybe you just want to have a specific application that does that
> > and has an "apply" button on it? Sounds like a random feature to have
> > in a KCM to me: A button to open an image sounds intricate.
> > 
> > Aleix
> 
> Agreed. I guess I'll just make the application callable from the KCM, and have a colorscheme preview and an apply button there.

Follow up question: should I put my code in the Colors KCM's directory, or elsewhere? 
My idea is to have a button that says "Generate colorscheme from Image" in the KCM, which opens a seperate window where you can select an image and apply the colorscheme.


More information about the Plasma-devel mailing list