my_konfig

This commit is contained in:
2025-12-17 18:10:08 +01:00
parent ed4ae93364
commit 773955ef02
42 changed files with 1313 additions and 158 deletions

12
config/waybar/vpn-status.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# This script checks for a WireGuard interface.
WG_INTERFACE="wg0"
if ip link show "$WG_INTERFACE" &> /dev/null; then
# If the interface exists, VPN is on.
printf " VPN On\n"
else
# If not, VPN is off.
printf " VPN Off\n"
fi