Consistent font on mailcount
This commit is contained in:
parent
720b5c8dda
commit
55d7c68bc3
|
@ -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("")
|
||||||
|
|
Loading…
Reference in New Issue