A simple script that shows the name of the VPN started via NetworkManager.
[module/vpn-networkmanager-status] type = custom/script exec = ~/polybar-scripts/vpn-networkmanager-status.sh interval = 10