diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-24 18:43:34 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-24 18:43:34 +0100 |
commit | 57f95001a8cdc8e8d7642db89de45690076983dd (patch) | |
tree | b378eac1976a67caf7313b7c6330d3f669ebd2ff /i3blocks | |
parent | e89978b6c45c6229c6341c1dbf9c28b7ba254a77 (diff) | |
download | scripts-57f95001a8cdc8e8d7642db89de45690076983dd.tar.gz scripts-57f95001a8cdc8e8d7642db89de45690076983dd.zip |
Format of corona-stats.online changed.
Diffstat (limited to 'i3blocks')
-rwxr-xr-x | i3blocks/i3corona.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 "%"}' |