Configure i3bar and VPN pid

In this case, I use the privatvpn script, which install the OpenVPN client.

Replace the command line in /usr/bin/privatvpn with:

/usr/sbin/openvpn --config /etc/openvpn/privatvpn.conf --writepid /var/run/openvpn.pid

Then point the .pid file in ~/.i3status.conf, in run_watch VPN:

pidfile = "/var/run/openvpn.pid"