Update temp.inc.sh

This commit is contained in:
2024-05-09 22:55:07 -05:00
parent c24a137240
commit 33aba1a384

View File

@@ -249,8 +249,12 @@ CHECKTEMP(){
([ "${temp_h}" != "" ] && [ "${temp_h}" != "0" ]) && echo -en "${idsCL[White]}| " || echo -n " "
echo -en "${idsCL[Default]} "
[ ${#M} -eq 2 ] && echo -n " "
c=0; spc=''; spc1=`expr 7 - ${#OLD_temp_f}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
echo -e "${lclr}~${M}m ago - ${lclr}${lico}${spc}${OLD_temp_f}${GAUGESH}"
if [ "${OLD_temp_f}" != "" ]; then
c=0; spc=''; spc1=`expr 7 - ${#OLD_temp_f}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
echo -e "${lclr}~${M}m ago - ${lclr}${lico}${spc}${OLD_temp_f}${GAUGESH}"
else
echo -e "${lclr}~${M}m ago - ${lclr}${lico}"
fi
done
fi