Update temp.inc.sh

This commit is contained in:
2024-02-24 10:37:53 -06:00
parent 12df66e368
commit f241766722

View File

@@ -126,7 +126,7 @@ CHECKTEMP(){
reading="${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
else
temp_f=""
temp_f_disp=" "
temp_f_disp=" "
lclr="${idsCL[Yellow]}"
lmd=""
reading="${idsCL[Yellow]}Sensor Offline "
@@ -148,7 +148,7 @@ CHECKTEMP(){
else
averagedisp="${idsCL[Green]}${average_disp}"
fi
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading} /${spca}${averagedisp}${GAUGESH}"
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
tmp="${spct}${temp_f_disp}${GAUGESH}"