dotfiles

ref: master

bin/is-vpn-connected


#!/usr/bin/env bash

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

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