#!/usr/bin/env bash status=$(nmcli g | grep -oE "disconnected") if [ $status ] ; then echo "✘" else echo "" fi