Re-enable RSS feed count in awesome

This commit is contained in:
Tom Willemse 2014-08-26 11:20:39 +02:00
parent 16d15b2b21
commit bd6c4b409f

View file

@ -205,16 +205,16 @@ mymaillisttimer:connect_signal(
end)
mymaillisttimer:start()
-- myrsslist = wibox.widget.textbox()
-- myrsslist:set_text(" rss: " .. (avandu.unread() or '?'))
-- myrsslisttimer = timer({ timeout = 60 })
-- myrsslisttimer:connect_signal(
-- "timeout",
-- function ()
-- myrsslist:set_text(" rss: " .. (avandu.unread() or '?'))
-- end
-- )
-- myrsslisttimer:start()
myrsslist = wibox.widget.textbox()
myrsslist:set_text(" rss: " .. (avandu.unread() or '?'))
myrsslisttimer = timer({ timeout = 60 })
myrsslisttimer:connect_signal(
"timeout",
function ()
myrsslist:set_text(" rss: " .. (avandu.unread() or '?'))
end
)
myrsslisttimer:start()
for s = 1, screen.count() do
-- Create a promptbox for each screen
@ -248,7 +248,7 @@ for s = 1, screen.count() do
-- Widgets that are aligned to the right
local right_layout = wibox.layout.fixed.horizontal()
if s == 1 then
-- right_layout:add(myrsslist)
right_layout:add(myrsslist)
right_layout:add(mymaillist)
right_layout:add(wibox.widget.systray())
end