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:
parent
83567b1c21
commit
0c5e4a72fc
3
polybar/.config/polybar/bin/corona
Executable file
3
polybar/.config/polybar/bin/corona
Executable 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 }'
|
@ -404,7 +404,7 @@ content-foreground = ${colors.primary}
|
||||
|
||||
[module/corona]
|
||||
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
|
||||
|
||||
click-left = brave https://corona-stats.online/Netherlands
|
||||
|
Loading…
Reference in New Issue
Block a user