Skip to content

stagehand17/covid-argos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

covid-argos

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

Requirements

Configuration

The following variables are intended to be set by the user. ARGOS_DIR is the directory you would like to keep the small cache files this script will create. 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. TOP_N can also be modified by the menu in the application.

ARGOS_DIR=~/.config/argos/covid-argos                                             
STATES=("North Carolina" "New York" "California")                             
TOP_N=false                                                                   
N_STATES=15  

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.