diff options
author | Joe <bousset.rudy@gmail.com> | 2022-10-04 16:09:45 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-10-04 16:09:45 +0200 |
commit | 2ada304b5864b508f81c47eafcc03fda3176108f (patch) | |
tree | 14948717260494cf25d2ff0063415442435d368a | |
parent | up (diff) | |
download | dotfiles-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 '')
-rw-r--r-- | .config/x11/xinitrc | 2 | ||||
-rwxr-xr-x | .local/bin/status/sb-net | 5 | ||||
-rwxr-xr-x | .local/bin/status/sb-tools | 10 |
3 files changed, 13 insertions, 4 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index b1d440a..836160c 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -13,7 +13,7 @@ xset -dpms xsetroot -name 'Loading bar...' startif dunst startif picom -startif lowbat +# startif lowbat startif mpd-notification startif xscreensaver --no-splash startif dwmblocks 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 |