Skip to content

A bitbar plugin for info on the spread of the corona virus

License

Notifications You must be signed in to change notification settings

jramer/bitbar-corona

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitbar-corona

A bitbar plugin for info on the spread of the corona virus BitBar
Uses data from the GIS Dashboard by Johns Hopkins

Screenshot

Shows:
😷 Number of reported sick
☠️ Number of reported deaths
😇 Number of reported recoveries
🗺 Number of countries with reported cases

Installation & Setup

  • Install BitBar
  • Clone or download this repository to your Mac
  • Copy corona.1h.sh to your BitBar Plugins Directory
  • Edit corona.1h.sh and setup your country preferences:
COUNTRY='Sweden' #Country you want warnings for
COUNTRY_FLAG='🇸🇪' #The countrys flag emoji
WARNING_THRESHOLD=0 #Threshold for number of infections reported in the country. Can be used to reset warning to discover new infections.

You might need to set the paths as well:

FPING_PATH=/usr/local/bin/fping
CURL_PATH=/usr/bin/curl
JQ_PATH=/usr/local/bin/jq

To find the paths use e.g. where curl.

If you need to install any of the dependencies, use homebrew:

brew install jq fping
#curl should already exisit in macos. But if not:
#brew install curl

About

A bitbar plugin for info on the spread of the corona virus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages