From 164f3674fd2542180b29b47e44cff914926b01b6 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Fri, 30 Oct 2020 21:12:58 -0400 Subject: [PATCH] Round signal strength and mark with percent sign --- home/lib/login_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.20.1