Update temp.inc.sh

This commit is contained in:
2024-12-18 22:57:03 -06:00
parent 8a9ac6b532
commit 444f65e82b

View File

@@ -142,7 +142,7 @@ CHECKTEMP(){
fi
c=0; spct=''; [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "system" ] && [[ "${SENSOR}" = *"FAN"* ]] && spc1=`expr 6 - ${#temp_f}` || spc1=`expr 7 - ${#temp_f}`
until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
reading="${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
reading="${lclr}${lmd}${spct}$(IDS_NUMBER_FORMAT ${temp_f_disp})${GAUGESH}"
[ ${REPORT} -eq 0 ] && echo -en "\r\033[K"
echo -en "${idsCL[White]}${idsST[Bold]}${SENSOR_DESC}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading} "