Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
February 11, 2010
File Size
34.6 KB
Link
Thumb
Embed

Stats

Views
8,012 (3 today)
Favourites
18 (who?)
Comments
10
Downloads
1,381 (1 today)
×
Bargraph Widget for Conky 2.1 by wlourf Bargraph Widget for Conky 2.1 by wlourf
This is widget written in lua/cairo to use with conky. At the beginning, it was inspired from equalizer on old hi-fi systems and I wanted to draw bar graphs.

Update 07.01.11 for bug fix on memory leaks
Add a Comment:
 
:iconn00by4ever:
N00by4Ever Featured By Owner Sep 19, 2013
Thanks for this great lua script, i gave it a handle while maintaining all other features.
n00by4ever.deviantart.com/art/…
Reply
:iconkwesi11:
kwesi11 Featured By Owner Aug 20, 2013
the best.
Reply
:iconneecride:
neecride Featured By Owner Oct 18, 2011
je l'utilise et ša rend vraiment bien bon boulot
Reply
:icong0rg0d:
g0rg0d Featured By Owner Dec 30, 2010  Hobbyist Digital Artist
Thanks for creating such awesome widgets.... :thanks: ..You're great man...
Reply
:iconangrypsyco:
angrypsyco Featured By Owner May 23, 2010
Whoa this looks great! I'm totally gonna add this to my setup when I get home :D it will be replacing my song progress bar~
Reply
:iconwlourf:
wlourf Featured By Owner May 28, 2010
hi angrypsyco, I hope to see your setuo on ubuntu forums soon ! and thks for the fav
Reply
:iconvrkalak:
vrkalak Featured By Owner Feb 12, 2010  Professional Interface Designer
I saw this or something like it, in the Conky Section of the Crunchbang/Linux Forums.

Looks nice but, setting it up and maintaining it must be a 'nightmare' :faint:. . . glad you got it to work for you.

I always have a Conky Application of my Linux desktop, however, I'm not that knowledgeable with Conky/Lua/Cairo scripts.

It was hard enough to config my own single-line across the top Conky script. :(
Reply
:iconwlourf:
wlourf Featured By Owner Feb 13, 2010
there is no nightmare at all! In a couple of hours I managed to do a "moving" equalizer (it's use this widget) : you can see the video here :[link]
That is more difficult to write, I agree!
Reply
:iconwlourf:
wlourf Featured By Owner Feb 13, 2010
hi, no its' quite simple to use (really !) in two steps:
first step :
in you conky before the TEXT section call the lua script like this :
lua_load /path/to/your/script/thescript.lua
lua_draw_hook_pre main

(main is the name of the function to call)
And add at least a blank line (or a written line) after TEXT

second step:
In the Lua script, in the main function, set up the bar like this
equalizer('fs_used_perc', '/home', 100, 10, cap_butt, -2, x0, w,h,0,
bgc,bga, fgc,fga, alc,ala, alarm, led_effect, led_alpha,smooth,mid_color,mid_alpha,90)

you need to call equalizer(...) for each bar you want.
the parameters are
(name, arg, max, nb_blocks, cap, xb, yb, w, h, space, bgc, bga, fgc, fga,alc,ala,alarm,led_effect,led_alpha,smooth,mid_color,mid_alpha,rotation)
More explanations on the parameters in the Lua script ...

I will had this README in next versions !
Reply
:iconquickdraw:
quickdraw Featured By Owner Feb 11, 2010
while I don't have any real need for something like this in my own configuration, I think it is awesome and just shows how creative and wonderful you can get with Conky!

:winner:
Reply
Add a Comment: