diff --git a/.local/bin/tools/ethvpn b/.local/bin/tools/ethvpn index 2e41b33..1c06515 100755 --- a/.local/bin/tools/ethvpn +++ b/.local/bin/tools/ethvpn @@ -2,7 +2,7 @@ user="abocken@student-net.ethz.ch" password_path="ETH/VPN" if [ "$1" = "status" ]; then - ping -c 2 -q webprint.ethz.ch > /dev/null && printf '🔬' + ping -c 2 -W 3 -q webprint.ethz.ch > /dev/null && printf '🔬' printf '\n' else if [ $(pgrep -c openconnect) -eq 0 ]; then @@ -15,4 +15,5 @@ else sudo pkill openconnect && notify-send "ETH VPN" "ETH VPN disconnected" fi fi + pkill -RTMIN+9 dwmblocks fi