Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eylles/corona-chan-tracker
A script to track covid in your statusbar/panel
https://github.com/eylles/corona-chan-tracker
coronavirus coronavirus-tracking covid-19 covid19 emoji posix posix-sh shell shell-script shell-scripts
Last synced: about 1 month ago
JSON representation
A script to track covid in your statusbar/panel
- Host: GitHub
- URL: https://github.com/eylles/corona-chan-tracker
- Owner: eylles
- License: gpl-3.0
- Created: 2020-08-20T09:31:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-19T00:56:23.000Z (almost 4 years ago)
- Last Synced: 2023-03-09T03:12:08.270Z (almost 2 years ago)
- Topics: coronavirus, coronavirus-tracking, covid-19, covid19, emoji, posix, posix-sh, shell, shell-script, shell-scripts
- Language: Shell
- Homepage:
- Size: 564 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Corona-chan Tracker
This script displays covid-19 data formatted for statusbars and/or panels.
So far tried and tested in mate-panel, polybar and wibar (awesomewm), it should work in other desktop enviorements and perhaps in bitbar for mac.## Install
```sh
git clone https://github.com/eylles/corona-chan-tracker
cd corona-chan-tracker
make install
```There's an automated way to add an example cronjob just run ```make cronadd``` after running ```make install```.
## How To Use
for example to get the data for brazil run
```sh
covid -l br
```Usage: covid [options] -l [string]
Options:
-c: Run as client cicle.
-0: Run as client once.
-s: Silence output.
-n: Do not log output.
-u: USA states stats.
-l: enter location as [-l string].
-h: Display this help.## screenshot
running inside awesomewm on the wibar
this is how you add it
```lua
...
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
awful.widget.watch('covid -0 -l --country code--', 180),
...
```## credits
Luke Smith's [video](https://www.youtube.com/watch?v=cQ03v4d3QEo) on wchih he writes a script, which served as the base for this scrip
sagarkarira's [Coronavirus Tracker Cli](https://github.com/sagarkarira/coronavirus-tracker-cli) as this script uses it's curl interface
(no longer true as it has a makefile now)