Re: gradients in master

2012-02-29 Thread Uli Schlachter
On 26.02.2012 05:01, Anurag Priyam wrote: [- CC: awes...@naquadah.org] [+CC: awesome-devel@naquadah.org] On Fri, Feb 17, 2012 at 10:24 PM, Uli Schlachter psyc...@znc.in wrote: You might be interested in the following commit: commit 2216b6a341ddb840200ea85207f8a59a5b3d61a6 Author: Uli

Re: gradients in master

2012-02-29 Thread Uli Schlachter
On 26.02.2012 05:26, Anurag Priyam wrote: On Sun, Feb 26, 2012 at 9:31 AM, Anurag Priyam anurag08pri...@gmail.com wrote: On Fri, Feb 17, 2012 at 10:24 PM, Uli Schlachter psyc...@znc.in wrote: You might be interested in the following commit: commit 2216b6a341ddb840200ea85207f8a59a5b3d61a6

Re: gradients in master

2012-02-29 Thread Anurag Priyam
On Wed, Feb 29, 2012 at 2:57 PM, Uli Schlachter psyc...@znc.in wrote: On 26.02.2012 05:01, Anurag Priyam wrote: [...] +    elseif type(col) == table then +        local t = col.type `type` is a core Lua function.  I wonder if it is a good practice to use it is a variable name in our code.  

Re: gradients in master

2012-02-25 Thread Anurag Priyam
[- CC: awes...@naquadah.org] [+CC: awesome-devel@naquadah.org] On Fri, Feb 17, 2012 at 10:24 PM, Uli Schlachter psyc...@znc.in wrote: You might be interested in the following commit: commit 2216b6a341ddb840200ea85207f8a59a5b3d61a6 Author: Uli Schlachter psyc...@znc.in Date:   Fri Feb 17

Re: gradients in master

2012-02-25 Thread Anurag Priyam
On Sun, Feb 26, 2012 at 9:31 AM, Anurag Priyam anurag08pri...@gmail.com wrote: On Fri, Feb 17, 2012 at 10:24 PM, Uli Schlachter psyc...@znc.in wrote: You might be interested in the following commit: commit 2216b6a341ddb840200ea85207f8a59a5b3d61a6 Author: Uli Schlachter psyc...@znc.in Date:  

Re: gradients in master

2012-02-17 Thread Uli Schlachter
On 11.01.2012 15:13, Anurag Priyam wrote: On Wed, Jan 11, 2012 at 5:05 PM, Uli Schlachter psyc...@znc.in wrote: On 11.01.2012 09:50, Anurag Priyam wrote: [...] cpugraph:set_color(linear:0,0:8,14:0,#FF5656:0.5,#88A175:1,#AECF96) nice to know you managed to fight through that mess. Now that

Re: gradients in master

2012-01-11 Thread Anurag Priyam
On Wed, Jan 11, 2012 at 11:20 AM, Anurag Priyam anurag08pri...@gmail.com 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,

Re: gradients in master

2012-01-11 Thread Uli Schlachter
On 11.01.2012 09:50, Anurag Priyam wrote: On Wed, Jan 11, 2012 at 11:20 AM, Anurag Priyam anurag08pri...@gmail.com 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({

Re: gradients in master

2012-01-11 Thread Anurag Priyam
On Wed, Jan 11, 2012 at 5:05 PM, Uli Schlachter psyc...@znc.in wrote: On 11.01.2012 09:50, Anurag Priyam wrote: [...] cpugraph:set_color(linear:0,0:8,14:0,#FF5656:0.5,#88A175:1,#AECF96) nice to know you managed to fight through that mess. Now that you saw the evil, any ideas how this syntax

gradients in master

2012-01-10 Thread Anurag Priyam
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