From e9dd3b41b8e37b17a5337d8bd41c99249d477bc8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 15:12:55 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsmon.sh b/dsmon.sh index 3184244..db42583 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -602,8 +602,8 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then DIVIDER . lightGreen 85 msg="| Disk Space Monitor (DSMon) " msg2="(ver-${VERS})" - c=0; spc=''; spc1=`expr 64 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done - c=0; spcB=''; spc1=`expr 20 - ${#msg2}`; until [ ${c} = ${spc1} ]; do spcB="${spcB} "; c=`expr ${c} + 1`; done + c=0; spc=''; spc1=`expr 61 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + c=0; spcB=''; spc1=`expr 23 - ${#msg2}`; until [ ${c} = ${spc1} ]; do spcB="${spcB} "; c=`expr ${c} + 1`; done echo -e "${idsCL[LightGreen]}${msg}${idsCL[Default]}${spc}${idsCL[DarkGray]}${msg2}${spcB}${idsCL[LightGreen]}|${idsCL[Default]}" DIVIDER . lightGreen 85 fi