summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorappeasementPolitik <108810900+appeasementPolitik@users.noreply.github.com>2023-08-25 07:56:50 +0000
committerGitHub <noreply@github.com>2023-08-25 07:56:50 +0000
commit86f05abcce1fd270032975775adb40040c746cfe (patch)
tree432053deca644bcd712ed7dd7da1c4d6a053c70e
parent798ba175d0edd50a696edc8467b2eedeaf881a4c (diff)
downloadeibhear-86f05abcce1fd270032975775adb40040c746cfe.tar.gz
eibhear-86f05abcce1fd270032975775adb40040c746cfe.tar.zst
eibhear-86f05abcce1fd270032975775adb40040c746cfe.zip
Fix the extra space between sb-internet and the block on the right of sb-internet (#1352)
-rwxr-xr-x.local/bin/statusbar/sb-internet4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/statusbar/sb-internet b/.local/bin/statusbar/sb-internet
index 4c8131c..5440a52 100755
--- a/.local/bin/statusbar/sb-internet
+++ b/.local/bin/statusbar/sb-internet
@@ -25,9 +25,9 @@ elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then
fi
# Ethernet
-[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐 " || ethericon="❎ "
+[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐" || ethericon="❎"
# TUN
-[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon="🔒 "
+[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 🔒"
printf "%s%s%s\n" "$wifiicon" "$ethericon" "$tunicon"