X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/0b4193199b244e4f0aa365762314c0462a318014..099e23aac2372f11a6f2b9a8c0d62bdfd8ee85b6:/widgets/imap.lua diff --git a/widgets/imap.lua b/widgets/imap.lua index 60a5509..0f8d994 100644 --- a/widgets/imap.lua +++ b/widgets/imap.lua @@ -7,15 +7,12 @@ --]] local helpers = require("lain.helpers") - local shell = require("awful.util").shell local naughty = require("naughty") local wibox = require("wibox") - local string = { format = string.format, gsub = string.gsub } local tonumber = tonumber - local setmetatable = setmetatable -- Mail IMAP check @@ -59,6 +56,7 @@ local function worker(args ) helpers.async(curl, function(f) _, mailcount = string.gsub(f, "%d+", "") + _ = nil widget = imap.widget settings()