summaryrefslogtreecommitdiffstats
path: root/.local/bin/status/sb-net
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-10-04 16:09:45 +0200
committerJoe <bousset.rudy@gmail.com>2022-10-04 16:09:45 +0200
commit2ada304b5864b508f81c47eafcc03fda3176108f (patch)
tree14948717260494cf25d2ff0063415442435d368a /.local/bin/status/sb-net
parentup (diff)
downloaddotfiles-bsd-2ada304b5864b508f81c47eafcc03fda3176108f.tar.gz
dotfiles-bsd-2ada304b5864b508f81c47eafcc03fda3176108f.tar.bz2
dotfiles-bsd-2ada304b5864b508f81c47eafcc03fda3176108f.tar.xz
dotfiles-bsd-2ada304b5864b508f81c47eafcc03fda3176108f.tar.zst
dotfiles-bsd-2ada304b5864b508f81c47eafcc03fda3176108f.zip
up
Diffstat (limited to '.local/bin/status/sb-net')
-rwxr-xr-x.local/bin/status/sb-net5
1 files changed, 2 insertions, 3 deletions
diff --git a/.local/bin/status/sb-net b/.local/bin/status/sb-net
index aa7485b..504eb8f 100755
--- a/.local/bin/status/sb-net
+++ b/.local/bin/status/sb-net
@@ -1,12 +1,11 @@
#!/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 1.1.1.1 >/dev/null 2>&1; then
- echo "轢 "
+ echo "ﰸ "
return
fi
-echo "歷 "
+echo " "