Skip to content

wilsongoode/covid-bitbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

covid-bitbar

This shell script allows you to see frequently-updated stats for the COVID-19 pandemic in the United States.

Requirements

  • BitBar https://github.com/matryer/bitbar
  • jq brew install jq

Configuration

The following variables are intended to be set by the user. STATES is an array of strings for each state you want detailed COVID-19 stats of. TOP_N allows you to change between listing the top 'n' states or the specific states in STATES. N_STATES determines how many states are listed by TOP_N.

STATES=("North Carolina" "New York" "California")                             
TOP_N=false                                                                   
N_STATES=10  

In action

Closed with stats for USA:

An image showing the menu collapsed and the current stats for the United States.

Open, with the top 15 states by number of cases:

An image showing the menu open and the top 15 states by number of cases.

Open, with only custom states:

An image showing the menu open and the top 15 states by number of cases.