From 8e2781309d141174f4b61b5ea20169424eab6c9e Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sun, 26 Nov 2023 19:59:43 +0100 Subject: [PATCH] fix sb-internet --- .local/bin/statusbar/sb-internet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/sb-internet b/.local/bin/statusbar/sb-internet index b1bf5550c..6e46bd5b7 100755 --- a/.local/bin/statusbar/sb-internet +++ b/.local/bin/statusbar/sb-internet @@ -15,7 +15,7 @@ fi if ls /sys/class/net/e*/operstate 1>/dev/null 2>&1; then for e in /sys/class/net/e*/operstate; do - [ "$e" = "up" ] && printf "%b" "$shift" + [ "$(cat "$e")" = "up" ] && printf "%b" "$shift" shift=" " done fi