diff options
| author | subh <subh@example.com> | 2026-01-19 21:47:02 +0530 |
|---|---|---|
| committer | subh <subh@example.com> | 2026-01-19 21:47:02 +0530 |
| commit | 65aad59ef0802708a8a7c8a312755232cc1823d3 (patch) | |
| tree | fe0a437f3e9a71ab5b9197d9b8fa72c24d2170ea /scripts/vpn_disconnect.sh | |
initial commit
Diffstat (limited to 'scripts/vpn_disconnect.sh')
| -rwxr-xr-x | scripts/vpn_disconnect.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/vpn_disconnect.sh b/scripts/vpn_disconnect.sh new file mode 100755 index 0000000..bf46c20 --- /dev/null +++ b/scripts/vpn_disconnect.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +disc=$(protonvpn disconnect) + +if [ -z "$disc" ]; then + notify-send -u normal -i network-wireless "VPN Connection Status" "VPN successfully disconnected" +fi |
