aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts/vpn-toggle
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-27 03:44:14 +0300
committerawy <awy@tutamail.com>2024-08-27 03:44:14 +0300
commit8c24921832b2b6dc95bbb41dbfe2de7ff4fcf877 (patch)
treeb8bfc2d150de60d0f989843cb67bc0c6fd380366 /.config/waybar/scripts/vpn-toggle
parent01b0a486d1190b88ee40458b4e16bcd6fa0c93bc (diff)
update
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