diff options
-rw-r--r-- | .config/awesome/rc.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 20af5da..e3b4851 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -202,6 +202,20 @@ mymaillisttimer:connect_signal( end) mymaillisttimer:start() +myrsslist = wibox.widget.textbox() +myrsslist:set_text( + string.format(" rss: %d", awful.util.pread("rss-count")) +) +myrsslisttimer = timer({ timeout = 60 * 60 }) +myrsslisttimer:connect_signal( + "timeout", + function () + myrsslist:set_text( + string.format(" rss: %d", awful.util.pread("rss-count")) + ) + end +) +myrsslisttimer:start() for s = 1, screen.count() do -- Create a promptbox for each screen @@ -232,6 +246,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(mymaillist) right_layout:add(wibox.widget.systray()) end |