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) end)
mymaillisttimer:start() mymaillisttimer:start()
-- myrsslist = wibox.widget.textbox() myrsslist = wibox.widget.textbox()
-- myrsslist:set_text(" rss: " .. (avandu.unread() or '?')) myrsslist:set_text(" rss: " .. (avandu.unread() or '?'))
-- 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_text(" rss: " .. (avandu.unread() or '?'))
-- end end
-- ) )
-- myrsslisttimer:start() myrsslisttimer:start()
for s = 1, screen.count() do for s = 1, screen.count() do
-- Create a promptbox for each screen -- Create a promptbox for each screen
@ -248,7 +248,7 @@ for s = 1, screen.count() do
-- Widgets that are aligned to the right -- Widgets that are aligned to the right
local right_layout = wibox.layout.fixed.horizontal() local right_layout = wibox.layout.fixed.horizontal()
if s == 1 then if s == 1 then
-- right_layout:add(myrsslist) right_layout:add(myrsslist)
right_layout:add(mymaillist) right_layout:add(mymaillist)
right_layout:add(wibox.widget.systray()) right_layout:add(wibox.widget.systray())
end end