dotfiles

ref: 3b40a9318f657270e2738e6b654bb49e1adbf384

bin/is-vpn-connected


#!/usr/bin/env bash

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

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