From 876b9895fa254f572e6b9cb8eb3efcd875298b3c Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 19 Oct 2022 00:34:27 +0200 Subject: [PATCH] No icons in statusbar. --- _desktop/_scripts/sb-network | 5 ++--- _desktop/_scripts/sb-yubikey | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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