Update temp.inc.sh

This commit is contained in:
2024-01-09 22:43:15 -06:00
parent cae0c1d048
commit e5ae10fbd1

View File

@@ -273,7 +273,7 @@ CHECKTEMPSENSOR(){
echo -en "${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
[ "${average}" != "" ] && echo -en " /${spca}${averagedisp}${GAUGESH}"
if [[ "${1}" != *"FAN"* ]]
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
[ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' '