Files
_dotfiles/.config/i3blocks/openvpn
2024-06-12 13:49:42 +02:00
..
2024-06-12 13:49:42 +02:00
2024-06-12 13:49:42 +02:00

openvpn

Support multiple VPN, with colors.

Usage

Add the following to your i3blocks config:

[openvpn]
command=$SCRIPT_DIR/openvpn
interval=20
PID_FILE_FORMAT='/run/openvpn/*.pid'

Note: devices in configuration file should be named with their number (ex: tun0, tap1), as dynamic devices are not supported. Also make sure that your openvpn config filename ends in .conf.

Options

Usage: openvpn [-p pid_file_format]
-p : format string to glob all pid files (default '/run/openvpn/*.pid')