1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 12:31:23 +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",
settings = function()
if mailcount > 0 then
widget:set_text(" " .. mailcount .. " ")
widget:set_markup(markup.font(theme.font, " " .. mailcount .. " "))
mailicon:set_image(theme.widget_mail_on)
else
widget:set_text("")