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:
parent
ec6fbc35d3
commit
f4a5a3bf66
3
polybar/.config/polybar/bin/wttr
Executable file
3
polybar/.config/polybar/bin/wttr
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
curl --silent "https://wttr.in/?format=2" | sed 's/️//g'
|
@ -392,7 +392,7 @@ click-left = ~/.local/bin/wireguard-switch wg1
|
||||
|
||||
[module/weather]
|
||||
type = custom/script
|
||||
exec = curl --silent "https://wttr.in/?format=2"
|
||||
exec = ~/.config/polybar/bin/wttr
|
||||
interval = 900
|
||||
|
||||
click-left = setsid alacritty --class float,float -e ~/.config/polybar/bin/wttr-and-wait
|
||||
|
Loading…
Reference in New Issue
Block a user