diff --git a/_desktop/_scripts/sb-network b/_desktop/_scripts/sb-network index b4a112f..f8ffa43 100755 --- a/_desktop/_scripts/sb-network +++ b/_desktop/_scripts/sb-network @@ -1,9 +1,8 @@ #!/bin/bash -icon='\uf1eb ' case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in - down) printf "$icon no wifi" ;; + down) printf "no wifi" ;; up) - [ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "$icon no ip" + [ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "no ip" # && printf "$icon $(iwgetid -r)" \ esac diff --git a/_desktop/_scripts/sb-yubikey b/_desktop/_scripts/sb-yubikey index 278d643..6170d13 100755 --- a/_desktop/_scripts/sb-yubikey +++ b/_desktop/_scripts/sb-yubikey @@ -1,6 +1,6 @@ #!/bin/sh case $(cat $XDG_CACHE_HOME/yubikey.status) in - *_1) printf "  touch the yubikey" ;; + *_1) printf " touch the yubikey" ;; *) printf "" ;; esac