dotfiles/tmux/.tmux/scripts/vpn-status-interactive.sh
2025-12-28 12:26:00 -07:00

8 lines
189 B
Bash
Executable file

#!/bin/bash
# Alternative: Check via ip addr instead of wg show (no sudo needed)
if ip addr show protonvpn 2>/dev/null | grep -q "state UP"; then
echo "🛡️"
else
echo "❌"
fi