#!/usr/bin/env bash nmcli -t -f active,ssid,signal dev wifi | grep '^yes' | awk -F: '{ s=$3; b=int(s/25); if(b>4)b=4; print b}'