From 59a7eec7d16a5ab1fdeca64acc20bc59b9bfaad0 Mon Sep 17 00:00:00 2001 From: Honney Date: Sun, 31 May 2026 15:20:40 +0200 Subject: [PATCH] Made network working --- modules/bar/scripts/Network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bar/scripts/Network.sh b/modules/bar/scripts/Network.sh index 447278e..f29b22f 100755 --- a/modules/bar/scripts/Network.sh +++ b/modules/bar/scripts/Network.sh @@ -21,7 +21,7 @@ if printf "%s\n" "${ITYPES[@]}" | grep -qx "Ethernet"; then echo "󰈀 " elif printf "%s\n" "${ITYPES[@]}" | grep -qx "Wi-Fi"; then if [ -x "/usr/bin/nmcli" ]; then - CONNECTION="$(nmcli -f DEVICE,ACTIVE,SSID,SIGNAL dev wifi | grep yes | awk '{print $4}')" + CONNECTION="$(nmcli -f DEVICE,ACTIVE,SSID,SIGNAL dev wifi | grep yes | awk '{print $NF}')" if [[ -z "$CONNECTION" ]]; then echo "󰤭 " elif (( CONNECTION > 80 )); then