From 475da04ed1199d87121be886e1636a1cbbf7f0d2 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 31 Jul 2009 07:49:28 +0200 Subject: Mbox mail count widget included. The, mboxc, widget supplements the mbox widget. The mbox widget returns the subject of the last e-mail in a mbox, while the mboxc widget returns the count of total, old and new messages. Dealing with potentially *HUGE* files is not easy, I tried to find some middle ground for now, comments in the file discuss it in detail. Having the LuaFileSystem lib would be nice, so we could do caching and avoid 90% of the reads, but I didn't rely on external libraries to this point so I'm not going to start now. --- README | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README') diff --git a/README b/README index 1a33232..1206353 100644 --- a/README +++ b/README @@ -122,6 +122,10 @@ vicious.widgets.mbox - provides the subject of last e-mail in a mbox file - takes the full path to the mbox as an argument +vicious.widgets.mboxc + - provides the count of total, old and new messages in a mbox + - takes the full path to the mbox as an argument + vicious.widgets.mdir - provides a number of new and unread messages in a Maildir structure -- cgit v1.2.3