Use FontAwesome for RSS count
This commit is contained in:
parent
2b1913c65f
commit
fbf921ecb2
1 changed files with 2 additions and 2 deletions
|
@ -206,12 +206,12 @@ mymaillisttimer:connect_signal(
|
||||||
mymaillisttimer:start()
|
mymaillisttimer:start()
|
||||||
|
|
||||||
myrsslist = wibox.widget.textbox()
|
myrsslist = wibox.widget.textbox()
|
||||||
myrsslist:set_text(" rss: " .. (avandu.unread() or '?'))
|
myrsslist:set_markup(" " .. (avandu.unread() or '?') .. " <span face=\"FontAwesome\"></span>")
|
||||||
myrsslisttimer = timer({ timeout = 60 })
|
myrsslisttimer = timer({ timeout = 60 })
|
||||||
myrsslisttimer:connect_signal(
|
myrsslisttimer:connect_signal(
|
||||||
"timeout",
|
"timeout",
|
||||||
function ()
|
function ()
|
||||||
myrsslist:set_text(" rss: " .. (avandu.unread() or '?'))
|
myrsslist:set_markup(" " .. (avandu.unread() or '?') .. " <span face=\"FontAwesome\"></span>")
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
myrsslisttimer:start()
|
myrsslisttimer:start()
|
||||||
|
|
Loading…
Reference in a new issue