A simple script which shows if OpenVPN is running.
[module/vpn-openvpn-isrunning] type = custom/script exec = ~/polybar-scripts/vpn-openvpn-isrunning.sh interval = 5