Update temp.inc.sh

This commit is contained in:
2024-04-21 16:21:19 -05:00
parent d8d738b610
commit dd94488813

View File

@@ -363,9 +363,9 @@ CHECKTEMP(){
echo -e " Last checked : ${idsCL[LightCyan]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR} "+%m/%d @ %l:%M%p")${idsCL[Default]}"
echo -en " Last set : ${FSC}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %l:%M%p") "
if [ "$(cat ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set | cut -d'~' -f 2)" == "u" ]; then
echo -e "${idsCL[LightRed]}\u21C8 ${idsCL[Default]}"
echo -e "${idsCL[LightRed]}\u25B2 ${idsCL[Default]}"
elif [ "$(cat ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set | cut -d'~' -f 2)" == "d" ]; then
echo -e "\u21CA ${idsCL[Default]}"
echo -e "\u25BC ${idsCL[Default]}"
else
echo -e "${idsCL[LightCyan]}= ${idsCL[Default]}"
fi