Hello everyone! I have this mailbox snippet in my rc.lua:
-- Variables
home = os.getenv("HOME")
-- Mail widget
vicious_mail = wibox.widget.textbox()
vicious.register(vicious_mail, vicious.widgets.mdir, function (widget, args)
if args[1] == 0
then return string.format("<!-->")
else return string.format('✉ <span color="#dc322f">' ..
args[1] .. '</span> | ')
end
end, 60, { home..'/mail/inbox' })
Maybe you can find it useful. The mail is synchronised with OfflineIMAP. This
setup works in 3.5 with no problems.
Cheers,
--
To unsubscribe, send mail to [email protected].