Update temp.inc.sh

This commit is contained in:
2024-02-24 10:39:33 -06:00
parent f241766722
commit 3fbcb8c4a4

View File

@@ -150,7 +150,7 @@ CHECKTEMP(){
fi
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading} ${idsCL[Default]}/${spca}${averagedisp}${GAUGESH}"
fi
if [ "${average}" != "" ] || ([ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
if ([ "${average}" != "" ] || [ "${temp_f}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
tmp="${spct}${temp_f_disp}${GAUGESH}"
[ "${average}" != "" ] && fws=11 || fws=21
c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done