From fdebd61895580ce5b661cdfa07dbd66572fedfaf Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 15 Sep 2022 21:43:32 +0200 Subject: up --- .local/bin/status/sb-net | 3 +++ 1 file changed, 3 insertions(+) (limited to '.local/bin/status/sb-net') diff --git a/.local/bin/status/sb-net b/.local/bin/status/sb-net index 2cc07da..6a3256b 100755 --- a/.local/bin/status/sb-net +++ b/.local/bin/status/sb-net @@ -1,6 +1,9 @@ #!/bin/sh # if ifconfig | grep -F ' active' >/dev/null; then +if ifconfig | grep '^tun' >/dev/null 2>&1; then + echo -n "歷 " +fi if ! ping -q -c1 -t1 8.8.8.8 >/dev/null 2>&1; then echo " " return -- cgit v1.2.3