From 55187456f60db9dea0eb81bd1b4cb883b05d4f13 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 31 Jan 2024 08:42:33 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index dd149400..474f4001 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -345,7 +345,7 @@ CHECKTEMPSENSOR(){ # el if [[ "${1}" != *"FAN"* ]]; then tmp="${spct}${temp_f_disp}${GAUGESH}" - c=0; spc=''; spc1=`expr 12 - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + c=0; spc=''; spc1=`expr 16 - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done [ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' ' [ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' ' echo -en "${idsCL[Default]}${spc}[${spcw}${idsCL[Yellow]}${temp_warn_disp}${GAUGESH}${idsCL[Default]} /${spcc}${idsCL[LightRed]}${temp_crit_disp}${GAUGESH}=>${idsCL[Default]} ]"