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. <[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? > > 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" > 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_/_ http://www.calmar.ws > > -- > To unsubscribe, send mail to [email protected]. >
