summaryrefslogtreecommitdiffstats
path: root/.local/bin/status
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-09-15 21:43:32 +0200
committerJoe <bousset.rudy@gmail.com>2022-09-15 21:43:32 +0200
commitfdebd61895580ce5b661cdfa07dbd66572fedfaf (patch)
tree656c3b3ac9f6fdc5baac8ae48db521576cefa4eb /.local/bin/status
parentup (diff)
downloaddotfiles-bsd-fdebd61895580ce5b661cdfa07dbd66572fedfaf.tar.gz
dotfiles-bsd-fdebd61895580ce5b661cdfa07dbd66572fedfaf.tar.bz2
dotfiles-bsd-fdebd61895580ce5b661cdfa07dbd66572fedfaf.tar.xz
dotfiles-bsd-fdebd61895580ce5b661cdfa07dbd66572fedfaf.tar.zst
dotfiles-bsd-fdebd61895580ce5b661cdfa07dbd66572fedfaf.zip
up
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