#!/bin/bash # VPN status for tmux statusline # Check WireGuard ProtonVPN connection via ip link (no sudo needed) if ip link show protonvpn 2>/dev/null | grep -qE "<.*UP.*>"; then echo "🛡️" else echo "❌" fi