Hi, awesome community!
I wrote a couple of functions to read and write some rss feeds in the
wibox. It is not that fancy, but it is exactly what I always wanted to
have, it is so awesome that it can be easily done with ... awesome!
I use also wicked and naughty to display them properly.

Anyway, here is the question: I define the rss I want to read as a list:
feeds = {
        {'slsh','http://rss.slashdot.org/Slashdot/slashdot'},
        {'clrn','http://www.clarin.com/diario/hoy/um/sumariorss.xml'}
}
When I want to define widgets and so, I do in lua.rc something like
for i = 1,2 do 
   blah, blah,
end
But this is not nice, the '2' there is the number of elements in the
list feeds. How can I get that in lua? I know, this is a lua question,
but it actually has to do with awesome.

Second question: I read the rss every 60 seconds with
        awful.hooks.timer.register(60, rsswidget_timer),
where rsswidget_timer is a function that uses an external script.
Is there a way to dynamically 'unregister' and 're-register' this timer?

Thanks!
-- 
Matías Graña
[email protected]

-- 
To unsubscribe, send mail to [email protected].

Reply via email to