dotfiles

ref: b6855b856050d6be18a2a3f50089559ed47478cb

bin/is-vpn-connected


#!/usr/bin/env bash

# Status code:
#
#   0 => Connected
#   1 => Not connected

nmcli --terse connection show --active | grep vpn