diff --git a/i3/blocks/serverStatus b/i3/blocks/serverStatus index 815de22c..78a8a361 100755 --- a/i3/blocks/serverStatus +++ b/i3/blocks/serverStatus @@ -23,7 +23,7 @@ checkRandomSite(){ } checkURL(){ - responce=$(curl -s --head -w %{http_code} $1 -L -o /dev/null --connect-timeout 10) + responce=$(curl -s --head -w %{http_code} $1 -L -o /dev/null --connect-timeout 20) if [ "$responce" != 200 ]; then pgrep -x dunst && notify-send -u critical "$1 is down" "Server: $2\nResponce: $responce" & disown fi