dotfiles

ref: c4abf77adaede570db391ddc4ab2792d415ece36

bin/is-vpn-connected


#!/usr/bin/env bash

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

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