diff --git a/widgets/imap.lua b/widgets/imap.lua index 39518bd..febff23 100644 --- a/widgets/imap.lua +++ b/widgets/imap.lua @@ -67,7 +67,7 @@ local function worker(args) widget = imap.widget settings() - if mailcount > helpers.get_map(mail) and mailcount >= 1 + if mailcount >= 1 and mailcount > helpers.get_map(mail) then if mailcount == 1 then nt = mail .. " has one new message" diff --git a/widgets/yawn/localizations/zh_CN b/widgets/yawn/localizations/zh_CN index 681bc60..20de61e 100644 --- a/widgets/yawn/localizations/zh_CN +++ b/widgets/yawn/localizations/zh_CN @@ -57,4 +57,4 @@ Hail|冰雹 Fog|雾 Foggy|有雾 Haze|薄雾 -Light|小 \ No newline at end of file +Light|小