From: Siraaj Khandkar Date: Sat, 31 Oct 2020 01:12:58 +0000 (-0400) Subject: Round signal strength and mark with percent sign X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=164f3674fd2542180b29b47e44cff914926b01b6;p=khome.git Round signal strength and mark with percent sign --- diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index fa45b80..06444ac 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -479,7 +479,7 @@ motd() { if (device != "lo") { l = link[device] e = essid[device] - l = l ? l : "--" + l = l ? sprintf("%.0f%%", l) : "--" e = e ? e : "--" print device, address[device], e, l }