On Tue, Mar 10, 2009 at 01:01:45PM +0100, Sergey Kondratenko wrote: > by the way, > i miss now the most interesting and the most important thing for the > graph- how to make it alive? how do you update the graph?
there are also other possibilities (maybe even more cpu efficient - dunno) to feed widgets. May ask on the #awesome or bevore even look at the wiki. I can't reach uzolt actually to ask about his else very nice (IMHO) program for feeding widgets. cheers calmar > > Sergey. > > On Tue, Mar 10, 2009 at 12:57 PM, Sergey Kondratenko > <[1][email protected]> wrote: > > thank you calmar! > > cool desktop :) > one small question, can you also share you theme configuration file ? > i am especially interested in the gradient stuff for the selected > window. > Sergey. > > On Tue, Mar 10, 2009 at 12:47 PM, calmar c. <[2][email protected]> wrote: > > On Tue, Mar 10, 2009 at 12:35:07PM +0100, Sergey Kondratenko wrote: > > � �hey guys, > > > > � �does anyone has an example of net widget that looks like a graph? > > [3]http://www.calmar.ws/tmp/083-Tue-screen.png > > (the orange graph widget) > > copypaste stuff... from rc.lua > ------------------------------ > > gr_net = widget({ type = "graph", align = "right" }) > gr_net.width = 50 > gr_net.height = 0.90 > gr_net.grow = "left" > [4]gr_net.bg = beautiful.gr_net_bg > gr_net.border_color = beautiful.gr_net_border_color > > gr_net:plot_properties_set("in", > { > �["fg"] = beautiful.gr_net_in_fg, > �["fg_center"] = beautiful.gr_net_in_center, > �["fg_end"] = beautiful.gr_net_in_end, > �["vertical_gradient"] = true, > �["scale"] = true, > �["max_value"] = "160", > �["style"] = "bottom" > }) > > gr_net:plot_properties_set("out", > { > �["fg"] = beautiful.gr_net_out_fg, > �["fg_center"] = beautiful.gr_net_out_center, > �["fg_end"] = beautiful.gr_net_out_end, > �["vertical_gradient"] = true, > �["scale"] = true, > �["max_value"] = "12", > �["style"] = "line" > }) > > in the theme file (beautiful....) > --------------------------------- > > gr_net_bg = #00000099 > gr_net_border_color = #444466 > > gr_net_in_fg = #009900 > gr_net_in_center = #00aa00 > gr_net_in_end = #33ff33 > > gr_net_out_fg = #cc9900 > gr_net_out_center = #ee9900 > gr_net_out_end = #ff9900 > > cheers > > -- > � (o_ �It rocks: LINUX + Command-Line-Interface > � //\ � � � � � � � � � � � � � GPG: 0x59D90F4D > � V_/_ � � � � � � � � � � [5]http://www.calmar.ws > -- > To unsubscribe, send mail to [6][email protected]. > > References > > Visible links > 1. mailto:[email protected] > 2. mailto:[email protected] > 3. http://www.calmar.ws/tmp/083-Tue-screen.png > 4. http://gr_net.bg/ > 5. http://www.calmar.ws/ > 6. mailto:[email protected] -- (o_ It rocks: LINUX + Command-Line-Interface //\ GPG: 0x59D90F4D V_/_ http://www.calmar.ws -- To unsubscribe, send mail to [email protected].
