1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Updated corona widget as site layout has changed yet again

This commit is contained in:
Ryan Kes 2020-03-24 16:32:56 +01:00
parent 83567b1c21
commit 0c5e4a72fc
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | sed 's/\x1b\[[0-9;]*m//g' | awk '{ print "😷" $3, "💀" $5"%", $6$7, $8$9 }'

View File

@ -404,7 +404,7 @@ content-foreground = ${colors.primary}
[module/corona] [module/corona]
type = custom/script type = custom/script
exec = curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | sed 's/\x1b\[[0-9;]*m//g' | awk '{ print "😷" $6, "💀" $7"%", $9$10, $11$12 }' exec = ~/.config/polybar/bin/corona
interval = 900 interval = 900
click-left = brave https://corona-stats.online/Netherlands click-left = brave https://corona-stats.online/Netherlands