http://crunchbanglinux.org/forums/forum/8/tips-tricks-scripts/
or the ubuntu conky thread
http://ubuntuforums.org/showthread.php?t=281865
I'm going to use this page to be the reference point for all my blog entries.
- Getting started with Lua and Cairo.
I have written annotated versions of some of my lua scripts, doing my best to describe what each part of the code does. You can see them here, here and here (in order of complexity). An alternate approach to a settings table is here.
I have tried to explain the use of arrays (as best I can) by looking at one of my more recent Lua scripts here. Here I also go a little into how the figure drawing function works. The script itself is a work in progress, so I shall most likely clean it up for the future.
Here I have gone into a little bit of explanation of using the "for i = do" code. I also talk a little about the drawing process with cairo.
UPDATED
Here is a quick look at one of my most useful Lua tricks; splitting up text into individual characters and storing the characters in a table.
And please feel free to write a comment with some feedback on things that I can improve, or if you found anything I've written at all helpful! :)
- Here are my latest conky/lua setups in chronological order
other conkys and links above (no separate posts for these)
http://ubuntuforums.org/showpost.php?p=10890067&postcount=17907
this one doesn't really have a link, its more of a demonstration conky :)
http://crunchbanglinux.org/forums/post/126189/#p126189
and
http://ubuntuforums.org/showpost.php?p=10890209&postcount=17909
http://crunchbanglinux.org/forums/post/126057/#p126057
http://crunchbanglinux.org/forums/post/124807/#p124807
http://crunchbanglinux.org/forums/post/121763/#p121763
http://crunchbanglinux.org/forums/post/119912/#p119912
http://crunchbanglinux.org/forums/post/116452/#p116452
http://crunchbanglinux.org/forums/post/112409/#p112409
seems like omploader is having some issues with its files
I will be using http://www.postimage.org/ in the future
http://crunchbanglinux.org/forums/post/110933/#p110933
http://crunchbanglinux.org/forums/post/105301/#p105301
Mayan calendar conky
Blog entry here.
Conky/lua script here.
There are some other updates posted in the blog. I just haven't made entries for them on this page :)
Square text conky
Blog entry here.
Code via link here.
Final Fantasy VII
Blog entry here.
Code at conky-pitstop here.
Conkybar
Blog entry here.
Animated text conky
Blog entry here.
Code on the crunchbanglinux forum here.
Update to my earlier alternative graph drawing script.
Blog entry here.
Code on the crunchbanglinux forum here.
Sun position conky
Blog entry here.
Code on the crunchbanglinux forum here.
Abstract art conky
Blog entry here.
Code on the crunchbanglinux forum here.
Below is a lua script for a clock in the style of matrix "rain" using the blur effect I posted earlier to give the rain a 3 dimensional look. The line which displays the time is random (or at least as random as math.random allows). When the time isn't being displayed the rest of the text is in a matrix code style font. So look out for it!
I made this conky after there was a bout of ascii text activity on the crunchbang linux website. The script can convert any character to ascii text. Code for this is here.
number to text converter
Blog entry here.
Code on the crunchbanglinux forum here.
Perspective bars
Blog entry here.
Code on the crunchbanglinux forum here.
Average cpu usage comparison
Blog entry here.
Code on the crunchbanglinux forum here.
Blog entry here.
Code on the crunchbanglinux forum here.
Text blur and shadow
Blog entry here.
Code on the crunchbanglinux forum here.
System Monitor Conky
Blog entry here.
Code on the crunchbanglinux forum here.
Alternative graphs
Linegraph
Blog entry here.
Code on the crunchbanglinux forum here.
Bargraph
Blog entry here.
Code on the crunchbanglinux forum here.
Isometric bars.
Blog entry here.
Code on the crunchbanglinux forum here.
Ring meter variations.
Blog entry here.
Code on the crunchbanglinux forum here.
Blog entry here.
Code on the crunchbanglinux forum here.
Alternative conky flowers.
Blog entry here.
Lua script and some more info here on the crunchbanglinux forum.
UPDATED
I have been improving this setup recently. Now you can choose the number of petals for each flower, you can choose a bumpy middle where number of bumps is twice number of petals. Also the script uses my improved circlewriting function.
Updated animated graphs and text scroll.
Blog entry and dot Lua script here.
Lua script for text scroll on the crunchbanglinux forum here.
Also I suggest reading the forum entries by wlourf above.
Animated graphs
Blog entry here.
Lua script on the crunchbanglinux forum here.
Custome bars and rings.lua
Blog entry here.
Lua script on the crunchbanglinux forum here.
UPDATE - code now makes rotating the bars much easier. The bars will rotate in place instead of relative to 0,0.
Custom_bars.lua
Blog entry here. And here is an annotated version of the Lua script.
Lua script and conkyrc here.
Schematic.lua
Blog entry here.
Lua script and conkyrc here.
Flower.lua
Blog entry here (Lua script) and here (conkyrc)
Also posted on the crunchbanglinux website here.
Screen.lua
Also posted on the crunchbanglinux website here.
RGBlines.lua
Blog entry here (annotated lua script)
Full code posted on the crunchbanglinux website here.
- Other conky setups of interest.
I have the honor of having on of my earlier conky setups on the conky hardcore site (conky hardcore is no more but you can go to conky-pitstop instead here.)