diff --git a/bin/.local/bin/vpn-switch b/bin/.local/bin/vpn-switch index b6b6895..8f28779 100755 --- a/bin/.local/bin/vpn-switch +++ b/bin/.local/bin/vpn-switch @@ -8,13 +8,11 @@ STATUS="$(nmcli device status | grep -c wg0)" case $STATUS in 1) - sudo wg-quick down wg0 | notify-send - sudo wg-quick down wg1 + sudo wg-quick down wg0 notify-send 'Wireguard Down' ;; *) sudo wg-quick up wg0 - sudo wg-quick up wg1 notify-send 'Wireguard Up' ;; esac