X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_functions.sh;h=293e7b4fa5e74f758783aeb3baac1259b4386714;hb=325a679ea436d6c50fd205c9d1ca8caa1b7e7c43;hp=664636531884adab5a091e7de954ee02a244ace7;hpb=48c2317325e496fdf5bd93ae91ce938401873bf2;p=khome.git diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 6646365..293e7b4 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -375,10 +375,13 @@ run() { bar_gauge() { awk "$@" ' BEGIN { + # CLI options ch_left = ch_left ? ch_left : "[" ch_right = ch_right ? ch_right : "]" ch_blank = ch_blank ? ch_blank : "-" ch_used = ch_used ? ch_used : "|" + num = num ? 1 : 0 + pct = pct ? 1 : 0 } {