Fix the extra space between sb-internet and the block on the right of sb-internet (#1352)
This commit is contained in:
parent
798ba175d0
commit
86f05abcce
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ethernet
|
# 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
|
# 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"
|
printf "%s%s%s\n" "$wifiicon" "$ethericon" "$tunicon"
|
||||||
|
|
Loading…
Reference in a new issue