aboutsummaryrefslogtreecommitdiff
path: root/i3blocks/i3corona.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks/i3corona.sh')
-rwxr-xr-xi3blocks/i3corona.sh4
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 "%"}'