diff --git a/home/modules/window_manager/scripts/external_ip.sh b/home/modules/window_manager/scripts/external_ip.sh index 68257cb..0b22bc6 100755 --- a/home/modules/window_manager/scripts/external_ip.sh +++ b/home/modules/window_manager/scripts/external_ip.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -res=$(dig +timeout=1 +short myip.opendns.com @resolver1.opendns.com 2>/dev/null) +res=$(dig +timeout=3 +short myip.opendns.com @resolver1.opendns.com 2>/dev/null) if [ -z "$res+x" ]; then text="NO CONN" echo "%{F@error@}${text}%{F-}"