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

Filter unsupported character from weather widget

This commit is contained in:
Ryan Kes 2020-03-25 10:07:55 +01:00
parent ec6fbc35d3
commit f4a5a3bf66
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
curl --silent "https://wttr.in/?format=2" | sed 's///g'

View File

@ -392,7 +392,7 @@ click-left = ~/.local/bin/wireguard-switch wg1
[module/weather] [module/weather]
type = custom/script type = custom/script
exec = curl --silent "https://wttr.in/?format=2" exec = ~/.config/polybar/bin/wttr
interval = 900 interval = 900
click-left = setsid alacritty --class float,float -e ~/.config/polybar/bin/wttr-and-wait click-left = setsid alacritty --class float,float -e ~/.config/polybar/bin/wttr-and-wait