nmcli

nmcli - command-line tool for controlling NetworkManager

nmcli -f state g | tail -1
# returns
connected

Possible iconography for nmCont script

✓ connected
? connecting
✗ asleep
about / github / jekyll

Support this neat blog by sending some doge to this dogecoin deposit address (minimum is 10 doge): D7hVsZVDVEqrLUEmkQF84FZRjZEKDmr5oL