guanyilun / polycovid

show covid cases on polybar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

show covid cases on polybar


Languages

Language:Python 100.0%