From 01ea192f2288a460851f4b5ca6f727a3c9e855a4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 26 Dec 2023 14:00:21 -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 83d51f7b..53fe3456 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -197,7 +197,7 @@ CHECKTEMPSENSOR(){ fi tmp="${spct}${temp_f_disp}${GAUGESH}" - c=0; spc=''; spc1=`expr 8 - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + c=0; spc=''; spc1=`expr 10 - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done [ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' ' [ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' ' echo -e "${spc}[${spcw}${idsCL[Yellow]}${temp_warn}${GAUGESH}${idsCL[Default]} /${spcc}${idsCL[LightRed]}${temp_crit}${GAUGESH}=>${idsCL[Default]} ]"