From 7ebb3c3a913a2a49610466be8c0108eb50f26340 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 26 Dec 2023 14:00:37 -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 53fe3456..ed495cff 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 10 - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + c=0; spc=''; spc1=`expr 12 - ${#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]} ]"