aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts/vpn-toggle
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/scripts/vpn-toggle')
-rwxr-xr-x.config/waybar/scripts/vpn-toggle8
1 files changed, 0 insertions, 8 deletions
diff --git a/.config/waybar/scripts/vpn-toggle b/.config/waybar/scripts/vpn-toggle
deleted file mode 100755
index 4b48203..0000000
--- a/.config/waybar/scripts/vpn-toggle
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-if [ -d /sys/class/net/wg0 ]; then
- doas wg-quick down wg0
- hyprctl notify 5 5000 "rgb(ff0000)" " VPN is disabled"
-else
- doas wg-quick up wg0
- hyprctl notify 5 5000 "rgb(008000)" " VPN is enabled"
-fi