Polybar: Only check for weather if we have an internet connection

This commit is contained in:
Salt 2017-09-13 13:19:14 -05:00
parent 8e7643f352
commit 5a71213cc8

View File

@ -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]