Polybar: Only check for weather if we have an internet connection
This commit is contained in:
parent
8e7643f352
commit
5a71213cc8
@ -423,6 +423,7 @@ ramp-volume-2 =
|
||||
[module/weather-mini]
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/weather.sh
|
||||
exec-if = wget -q --spider http://www.startpage.com/
|
||||
interval = 60
|
||||
|
||||
[module/wlan-network]
|
||||
|
Loading…
Reference in New Issue
Block a user