dotfiles

ref: 5e2e8dea4c83051cdb6ff92143c8badb03ff3cc4

bin/is-vpn-connected


#!/usr/bin/env bash

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

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