diff options
author | awy <awy@tutamail.com> | 2024-08-27 03:44:14 +0300 |
---|---|---|
committer | awy <awy@tutamail.com> | 2024-08-27 03:44:14 +0300 |
commit | 8c24921832b2b6dc95bbb41dbfe2de7ff4fcf877 (patch) | |
tree | b8bfc2d150de60d0f989843cb67bc0c6fd380366 /.config/waybar/scripts/vpn-toggle | |
parent | 01b0a486d1190b88ee40458b4e16bcd6fa0c93bc (diff) |
update
Diffstat (limited to '.config/waybar/scripts/vpn-toggle')
-rwxr-xr-x | .config/waybar/scripts/vpn-toggle | 8 |
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 |