aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/covid
blob: 91b1139638388e78d5e25ef8289f7eb451e87e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

RESPONSE=$(curl -s "https://disease.sh/v3/covid-19/countries/netherlands")
prop () { echo $RESPONSE | jq $1 | xargs printf; }

printf "󰀏 "
prop .cases

printf "  󰯈 "
prop .deaths

printf "\n"