0
trickyni trickyniv56@gmail.com
Fri, 26 Sep 2025 08:00:59 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bar/scripts/network.sh
→
bar/scripts/network.sh
@@ -3,7 +3,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 wlp13s0 link | awk -F': ' '/^\s*SSID:/ {print $2}') + network_name=$(iw dev $connection_type link | awk -F': ' '/^\s*SSID:/ {print $2}') signal_strength=$(iw dev wlp13s0 link | awk '/signal:/ {print $2}') if (( sig >= -50 )); then bars=4