Reorder the stats in cv and prioritize some

This commit is contained in:
Michael De Roover 2020-08-14 15:47:49 +02:00
parent a01fb55a86
commit 5bbfc4ad77
Signed by: vim
GPG Key ID: 075496E232CE04CB
1 changed files with 6 additions and 4 deletions

10
cv
View File

@ -56,8 +56,8 @@ out(){
frame(){
case "$1" in
top) printf "╔═════════════════════════════════════════╗\n" ;;
table) printf "║ Statistic ║ Today ║ Yesterday ║\n"
printf "╟─────────────╫─────────────╫─────────────╢\n" ;;
title) printf "║ Statistic ║ Today ║ Yesterday ║\n" ;;
sep) printf "╟─────────────╫─────────────╫─────────────╢\n" ;;
up) printf "╠═════════════╦═════════════╦═════════════╣\n" ;;
down) printf "╚═════════════╩═════════════╩═════════════╝\n" ;;
line) printf "╠═════════════╩═════════════╩═════════════╣\n" ;;
@ -68,12 +68,14 @@ result(){
frame top
title "Queried at: $date"
frame up
frame table
frame title
frame sep
stats Total cases
stats "╰> Per 1M " casesPerOneMillion
stats New todayCases
frame sep
stats Active active
stats Critical critical
stats New todayCases
stats Deaths deaths
stats "╰> Per 1M " deathsPerOneMillion
stats Recovered recovered