diff --git a/.config/polybar/scripts/updates-arch-combined.sh b/.config/polybar/scripts/updates-arch-combined.sh index 69f1cd1..df92b4f 100755 --- a/.config/polybar/scripts/updates-arch-combined.sh +++ b/.config/polybar/scripts/updates-arch-combined.sh @@ -1,5 +1,6 @@ #!/bin/sh # Wait for connection +sleep 5 source $(dirname $0)/../.env connect=$(ping -q -w 1 -c 1 8.8.8.8 &> /dev/null) if [ $? -eq 0 ]; then