ref: 8e605a5db0e89ad5e3566e8769df9675f8f7e243
bin/is-vpn-connected
#!/usr/bin/env bash # Status code: # # 0 => Connected # 1 => Not connected nmcli --terse connection show --active | grep vpn