/polycovid

show covid cases on polybar

Primary LanguagePython

polycovid

“how many coronavirus cases are there in US? i wish to see it on my status bar.” –someone

https://raw.githubusercontent.com/guanyilun/polycovid/master/assets/screenshot_1.png

It comes as a plugin to polybar. This is how i set it up

[module/covid]
type = custom/script
exec = ~/dotfiles/polybar/covid
interval = 1800

A fullscreen view

https://raw.githubusercontent.com/guanyilun/polycovid/master/assets/screenshot_2.png

There are two crawlers i included. The first covid comes from a Chinese website. It sometimes updates slowly, though it’s still faster than CDC. The second crawler covid_us comes from a website in the US so it’s faster so i recommand that.