How would the following, 3.4.x code, translate to master:

```lua
cpugraph  = awful.widget.graph()

-- these five lines are usable as it is
cpugraph:set_width(45)
cpugraph:set_height(14)
cpugraph:set_background_color(beautiful.fg_off_widget)
cpugraph:set_color(beautiful.fg_end_widget)

-- but what about gradients ??
cpugraph:set_gradient_angle(0)
cpugraph:set_gradient_colors({ beautiful.fg_end_widget,
   beautiful.fg_center_widget, beautiful.fg_widget
})
```

I looked into gears.color, but I am unable to make much sense of it.

-- 
Anurag Priyam

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to