On 11.01.2012 09:50, Anurag Priyam wrote:
On Wed, Jan 11, 2012 at 11:20 AM, Anurag Priyam
<[email protected]>  wrote:
How would the following, 3.4.x code, translate to master:
[...]
-- but what about gradients ??
cpugraph:set_gradient_angle(0)
cpugraph:set_gradient_colors({ beautiful.fg_end_widget,
    beautiful.fg_center_widget, beautiful.fg_widget
})

Ok, this seems to work:

cpugraph:set_color("linear:0,0:8,14:0,#FF5656:0.5,#88A175:1,#AECF96")

Hi,

nice to know you managed to fight through that mess.
Now that you saw the evil, any ideas how this syntax can be improved? Perhaps it makes sense to bury the idea of "this must be a string" and turn into tables again? Dunno.

Uli

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

Reply via email to