diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index ba84ffe..1a9cacf 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -90,7 +90,7 @@ tail = true [module/network_status] type = custom/script exec = ~/.config/polybar/scripts/network_status -click-left = $TERMINAL_CMD "fping --elapsed --count 100 1.1.1.1" +click-left = $TERMINAL_CMD "fping --elapsed --count 100 1.0.0.1" interval = 5 [module/vpn] diff --git a/.config/polybar/scripts/network_status b/.config/polybar/scripts/network_status index 91c5b48..de75b08 100755 --- a/.config/polybar/scripts/network_status +++ b/.config/polybar/scripts/network_status @@ -1,6 +1,6 @@ #!/usr/bin/env bash -URL=${1:-1.1.1.1} +URL=${1:-1.0.0.1} output=$(fping --quiet --outage --count=5 "$URL" 2>&1) outage_output=""