From 481b258fe0c68b533646b535fe4a54f51ed0cd44 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 13 Aug 2021 22:06:21 +0200 Subject: [PATCH] polybar-weather: wait a bit longer when not online --- bin/polybar-weather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/polybar-weather b/bin/polybar-weather index 350d4bd..ad9c164 100755 --- a/bin/polybar-weather +++ b/bin/polybar-weather @@ -139,7 +139,7 @@ if __name__ == "__main__": # Wait to be online logger.info("not online, waiting") update_status("", options.output) - time.sleep(2) + time.sleep(5) process = subprocess.run( ["nm-online", "-q", "-t", str(options.online_timeout * 60)] )