From: Siraaj Khandkar Date: Mon, 2 Nov 2020 10:24:06 +0000 (-0500) Subject: Use full width available X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=82c2459fdd391805d3e55505dafb36af1a53fc46;p=khome.git Use full width available --- diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index a161d4b..68d99a2 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -588,6 +588,6 @@ ssh_invalid_attempts_from() { /var/log/auth.log \ /var/log/auth.log.1 \ | sort -n -k 1 \ - | bar_gauge -v width=80 -v num=1 -v ch_right=' ' -v ch_left=' ' -v ch_blank=' ' \ + | bar_gauge -v width=$(stty size | awk '{print $2}') -v num=1 -v ch_right=' ' -v ch_left=' ' -v ch_blank=' ' \ | column -t }