summaryrefslogtreecommitdiffstats
path: root/.local/bin/status
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/status')
-rwxr-xr-x.local/bin/status/sb-net3
1 files changed, 3 insertions, 0 deletions
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