From 0295655e509fe9dcc799bde69a0dbf7eb798f4f1 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Wed, 4 Mar 2026 13:56:50 -0500 Subject: [PATCH] fix, again --- dots/bin/temperature.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dots/bin/temperature.sh b/dots/bin/temperature.sh index 2ec049a..8fae984 100755 --- a/dots/bin/temperature.sh +++ b/dots/bin/temperature.sh @@ -23,12 +23,12 @@ temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_i # to set colour in svg, set `fill="white"` in the file temperature=$(($(cat ${temp_file}) / 1000)) -if [[ ${temperature} -gt ${threshold_1} ]]; then - echo /home/poq/.config/nwg-panel/icons/temperature-full-solid-full.alarm1.svg - echo "${temperature}°C" -elif [[ ${temperature} -gt ${threshold_2} ]]; then +if [[ ${temperature} -gt ${threshold_2} ]]; then echo /home/poq/.config/nwg-panel/icons/temperature-full-solid-full.alarm2.svg echo "WARNING: ${temperature}°C" +elif [[ ${temperature} -gt ${threshold_1} ]]; then + echo /home/poq/.config/nwg-panel/icons/temperature-full-solid-full.alarm1.svg + echo "${temperature}°C" else echo /home/poq/.config/nwg-panel/icons/temperature-full-solid-full.svg echo "${temperature}°C"