From: Siraaj Khandkar Date: Sat, 31 Oct 2020 02:06:39 +0000 (-0400) Subject: Use dash in unfilled gauge space instead of space X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=bcc030dcfd0902bb0b42c31c8ace288901287e4c;p=khome.git Use dash in unfilled gauge space instead of space --- diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 06444ac..92a111b 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -380,8 +380,8 @@ bar_gauge() { printf "[" for (i=1; i<=width; i++) { - c = i <= u ? "|" : " " - printf "%c", c + c = i <= u ? "|" : "-" + printf "%s", c } printf "]\n" }