How to test NetworkManager/OpenVPN status with i3status.conf ?
With the original script, the VPN test is made on the pidfile of vpnc In my case, I'm using NetworkManager to connect my computer to my OpenVPN server and I don't have any pid file when the VPN connection is active
Is there a way to test if the VPN connection, managed by NetworkManager is active ?
I though to test the "not empty" result of the command :
ip addr | grep tun
... but I don't know how to test it inside the i3status.conf file...