Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guanyilun/polycovid
show covid cases on polybar
https://github.com/guanyilun/polycovid
covid-19 i3 polybar
Last synced: 15 days ago
JSON representation
show covid cases on polybar
- Host: GitHub
- URL: https://github.com/guanyilun/polycovid
- Owner: guanyilun
- Created: 2020-03-09T03:58:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-16T02:53:29.000Z (almost 5 years ago)
- Last Synced: 2024-11-07T04:48:26.543Z (2 months ago)
- Topics: covid-19, i3, polybar
- Language: Python
- Homepage:
- Size: 72.3 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.org
Awesome Lists containing this project
README
* 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
#+BEGIN_SRC
[module/covid]
type = custom/script
exec = ~/dotfiles/polybar/covid
interval = 1800
#+END_SRCA 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.