Sunday, February 7, 2010

This Lua conky went a bit further than the RGB lines.
Heres the Lua:
EDIT - I've been wondering about the validity of some of the lines in this code.
in particular the instances of

for index,today in pairs(utime) do

When I was first writing the code it seemed that I couldn't get the tables working without putting this in but then I began thinking that there is nothing between the do and the end, so what exactly is it doing? I just used the print function both before and after the line and got the same result. Consider those lines deleted! All part of the learning experience :)

Go to my post in the crunchbanglinux website for the code here.

An annotated version of this script is here.

No comments:

Post a Comment