aboutsummaryrefslogtreecommitdiff
path: root/mdir.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mdir.lua')
-rw-r--r--mdir.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/mdir.lua b/mdir.lua
index e0fe392..6a5146b 100644
--- a/mdir.lua
+++ b/mdir.lua
@@ -15,8 +15,11 @@ module("vicious.mdir")
-- {{{ Maildir widget type
function worker(format, mdir)
- -- Widgets like this one are not agressive like CPU or NET, so we
- -- can keep it simple, find is OK with me if we execute every >60s
+ -- Like with the mbox count widget, we would benefit from the
+ -- LuaFileSystem library. However, we didn't rely on extra
+ -- libraries to this point so we won't start now. Widgets like
+ -- this one are not agressive like CPU or NET, so we can keep it
+ -- simple, find is OK with me if we execute every >60s
--
-- Initialise counters
local newcount = 0