1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

Consistent font on mailcount

This commit is contained in:
wish 2019-03-04 14:28:00 +11:00 committed by Luca Capezzuto
parent 720b5c8dda
commit 55d7c68bc3

View file

@ -120,7 +120,7 @@ theme.mail = lain.widget.imap({
password = "keyring get mail", password = "keyring get mail",
settings = function() settings = function()
if mailcount > 0 then if mailcount > 0 then
widget:set_text(" " .. mailcount .. " ") widget:set_markup(markup.font(theme.font, " " .. mailcount .. " "))
mailicon:set_image(theme.widget_mail_on) mailicon:set_image(theme.widget_mail_on)
else else
widget:set_text("") widget:set_text("")