From c2440baed853cd968cd6658ff3aad0ad7f6aa0a1 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Wed, 4 Mar 2026 13:48:13 -0500 Subject: [PATCH] fix --- dots/bin/temperature.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/bin/temperature.sh b/dots/bin/temperature.sh index 6828a6a..4afad77 100755 --- a/dots/bin/temperature.sh +++ b/dots/bin/temperature.sh @@ -11,9 +11,9 @@ # `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input` threshold=$1 -temp_file=$1 +temp_file=$2 -threshold=${threshold:=60} +threshold=${threshold:=59} temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input} # the value is reported in milli-degrees celsius. we divide by 1000 to convert to degrees celsius