dunst icon indicating copy to clipboard operation
dunst copied to clipboard

Feature: Color gradient

Open bynect opened this issue 1 year ago • 2 comments

Hello, I was fiddling around and implementing a color gradient feature. It is still unfinished though and I would like to hear your ideas.

I wanted to add the option to have a gradient to the background and progress bar. Basically we have a list a colors that are put in a cairo_pattern_t. If there is only one color the behavior is the same as it is now.

For the syntax of I was thinking of one of the following

# separate
background = whatever # ignored
background_gradient = 0xffaa22,0xfaf2a

or

background = red, green, blue

Example: img-1706811365

bynect avatar Jan 27 '24 10:01 bynect

I'm just seeing this now. If you want me to react, you can tag me. The gradient looks cool. Currently the color of the progress bar is called the highlight color. You can expand that one to also accept a list.

fwsmit avatar Feb 18 '24 14:02 fwsmit

I'm just seeing this now. If you want me to react, you can tag me. The gradient looks cool. Currently the color of the progress bar is called the highlight color. You can expand that one to also accept a list.

Ok so I'll go with the list ruote 👍

I'll present a pr when I'm done

bynect avatar Feb 18 '24 17:02 bynect