mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Remove ansi colorcodes from corona output
This commit is contained in:
parent
fe51be7d45
commit
1166d74b4c
@ -404,7 +404,8 @@ 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' | awk '{ print $6, $7"%", $9$10, $11$12 }'
|
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 }'
|
||||||
|
interval = 900
|
||||||
|
|
||||||
;== Other Settings ========================================================
|
;== Other Settings ========================================================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user