From 18740983118261e305e77a96f83124ee41636cd6 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sat, 21 Nov 2020 04:19:17 -0600 Subject: [PATCH] edit --- dot_local/scripts/executable_toggle-vpn.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dot_local/scripts/executable_toggle-vpn.sh b/dot_local/scripts/executable_toggle-vpn.sh index 91fd8dc..10c2a27 100644 --- a/dot_local/scripts/executable_toggle-vpn.sh +++ b/dot_local/scripts/executable_toggle-vpn.sh @@ -13,10 +13,9 @@ ACTIVE=`nmcli con show --active | grep "$VPN"` if [ -z "$ACTIVE" ] then nmcli con up id "$VPN" - notify-send "connected to $VPN" else nmcli con down id "$VPN" - notify-send "disconnected from $VPN" + notify-send "VPN $VPN" "Disconnected." fi exit 0