deviant art

Deviant Login Shop  Join deviantART for FREE Take the Tour
[x]
Shop Similar Prints
This Print Not Available
Download File
ZIP, 34.6 KB
more ▶

More from ~wlourf

Featured in Groups:

Details

February 11, 2010
34.6 KB
Link
Thumb

Statistics

Comments: 8
Favourites: 18 [who?]

Views: 5,580 (2 today)
Downloads: 999 (0 today)
[x]
:iconwlourf:
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:
 
love 0 0 joy 0 0 wow 1 1 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconneecride:
je l'utilise et ça rend vraiment bien bon boulot
Reply
:icong0rg0d:
~g0rg0d Dec 30, 2010  Hobbyist Digital Artist
Thanks for creating such awesome widgets.... :thanks: ..You're great man...
Reply
:iconangrypsyco:
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:
hi angrypsyco, I hope to see your setuo on ubuntu forums soon ! and thks for the fav
Reply
:iconvrkalak:
~vrkalak 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:
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:
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:
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: