From 57f95001a8cdc8e8d7642db89de45690076983dd Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Tue, 24 Mar 2020 18:43:34 +0100 Subject: Format of corona-stats.online changed. --- i3blocks/i3corona.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i3blocks') diff --git a/i3blocks/i3corona.sh b/i3blocks/i3corona.sh index 8874f7f..c8301be 100755 --- a/i3blocks/i3corona.sh +++ b/i3blocks/i3corona.sh @@ -17,6 +17,6 @@ tmpFile="${tmpDir}/coronaData.txt" [ -f "$tmpFile" ] || curl https://corona-stats.online/spain > "$tmpFile" 2>/dev/null -grep 'Spain' "$tmpFile" | sed 's/\s*//g; s/\x1b\[[0-9;]*m//g; s/[,▲]//g' | - awk -F'│' '{print "😷 " $3 " (+" $9 ") 💪 " $8 "%"}' +grep 'Spain' "$tmpFile" | sed 's/\s*//g; s/\x1b\[[0-9;]*m//g; s/[,▲║]//g' | + awk -F'│' '{print "😷 " $3 " (+" $6 ")"}' # 💪 " $7 "%"}' -- cgit v1.2.1