diff --git a/bar/eww/scripts/get-connectivity-info b/bar/eww/scripts/get-connectivity-info index 7d19232..cf9f5ec 100755 --- a/bar/eww/scripts/get-connectivity-info +++ b/bar/eww/scripts/get-connectivity-info @@ -22,11 +22,11 @@ print_network_state() { } wifi_strength() { - if [ "$1" -le -80 ]; then echo terrible - elif [ "$1" -le -70 ]; then echo bad - elif [ "$1" -le -60 ]; then echo mediocre - elif [ "$1" -le -40 ]; then echo good - else echo excellent + if [ "$1" -le 20 ]; then echo terrible + elif [ "$1" -le 40 ]; then echo bad + elif [ "$1" -le 60 ]; then echo mediocre + elif [ "$1" -le 80 ]; then echo good + else echo excellent fi }