From 2ada304b5864b508f81c47eafcc03fda3176108f Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 4 Oct 2022 16:09:45 +0200 Subject: up --- .local/bin/status/sb-net | 5 ++--- .local/bin/status/sb-tools | 10 ++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100755 .local/bin/status/sb-tools (limited to '.local') 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 " " diff --git a/.local/bin/status/sb-tools b/.local/bin/status/sb-tools new file mode 100755 index 0000000..5d042a6 --- /dev/null +++ b/.local/bin/status/sb-tools @@ -0,0 +1,10 @@ +#!/bin/sh + +if pgrep gpg-agent >/dev/null 2>&1; then + echo -n " " +else + echo -n " " +fi +if pidof gdbus >/dev/null 2>&1; then + echo -n "ﬗ " +fi -- cgit v1.2.3