mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-17 16:11:00 +02:00
polybar-weather: wait a bit longer when not online
This commit is contained in:
parent
33babfb765
commit
481b258fe0
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ if __name__ == "__main__":
|
||||||
# Wait to be online
|
# Wait to be online
|
||||||
logger.info("not online, waiting")
|
logger.info("not online, waiting")
|
||||||
update_status("", options.output)
|
update_status("", options.output)
|
||||||
time.sleep(2)
|
time.sleep(5)
|
||||||
process = subprocess.run(
|
process = subprocess.run(
|
||||||
["nm-online", "-q", "-t", str(options.online_timeout * 60)]
|
["nm-online", "-q", "-t", str(options.online_timeout * 60)]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue