0
trickyni trickyniv56@gmail.com
Fri, 26 Sep 2025 08:01:36 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bar/scripts/network.sh
→
bar/scripts/network.sh
@@ -4,7 +4,7 @@ # Find the first wireless interface
connection_type=$(iw dev | awk '$1=="Interface"{print $2; exit}') #gets network type (wired/wifi) if [ -n "$connection_type" ]; then network_name=$(iw dev $connection_type link | awk -F': ' '/^\s*SSID:/ {print $2}') - signal_strength=$(iw dev wlp13s0 link | awk '/signal:/ {print $2}') + signal_strength=$(iw dev $connection_type link | awk '/signal:/ {print $2}') if (( sig >= -50 )); then bars=4 elif (( sig >= -60 )); then