X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/94204ac2dad82e8b9b206cb596b3a27fb8379640..c9ed5d4f802701348ee3b1039c1bbb18a91526a1:/widgets/maildir.lua?ds=inline diff --git a/widgets/maildir.lua b/widgets/maildir.lua index 12f3545..c9937b4 100644 --- a/widgets/maildir.lua +++ b/widgets/maildir.lua @@ -13,6 +13,7 @@ local spairs = require("lain.helpers").spairs local wibox = require("wibox") +local awful = require("awful") local util = require("lain.util") local io = { popen = io.popen } @@ -42,6 +43,7 @@ local function worker(args) then awful.util.spawn(ext_mail_cmd) end + -- Find pathes to mailboxes. local p = io.popen("find " .. mailpath .. " -mindepth 1 -maxdepth 2 -type d" ..