diff --git a/bin/polybar-weather b/bin/polybar-weather index 5cd2a64..175ddaa 100755 --- a/bin/polybar-weather +++ b/bin/polybar-weather @@ -145,8 +145,8 @@ if __name__ == "__main__": location = get_location() except requests.exceptions.ConnectionError: # Wait to be online - time.sleep(2) logger.info("not online, waiting") + time.sleep(5) update_status("", options.output) process = subprocess.run( ["nm-online", "-s", "-q", "-t", str(options.online_timeout * 60)]