Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 520 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 520 Bytes

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')