On 01/06/2013 03:36 PM, Vitor Eiji Justus Sakaguti wrote:
On Sun, Jan 6, 2013 at 12:18 PM, g.schlmm <[email protected]> wrote:
im doing it like this:
gradient = "linear:0,0:20,20:0," .. beautiful.fg_end_widget .. ":0.5," ..
beautiful.fg_center_widget .. ":1," .. beautiful.fg_widget

vol:set_color(progress_gradient)

Hi, thanks for replying!

My beautiful theme (default one) doesn't seem to have those variables
set, so I got them from the zenburn theme. Working fine, thank you!

However, I still don't know what any of this syntax means, so if
anyone could point me to an explanation, that would be even more
helpful.

Thank you!

Vitor



linear:<x1>,<y1>:<x2>,<y2>:<colorstop1>,<color>:<colorstop2>,<color2>:<colorstop3>,<color3>

the first 4 numbers defines a line
the colorstops are between 0 and 1 (1 = 100%)




--
To unsubscribe, send mail to [email protected].

Reply via email to