From 5a71213cc8f44c00a79a99f685bf5b8857b65a1d Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 13 Sep 2017 13:19:14 -0500 Subject: [PATCH] Polybar: Only check for weather if we have an internet connection --- .config/polybar/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/polybar/config b/.config/polybar/config index 5e4e4373..6136b759 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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]