From 32f2a66dd9c8515e4d17bd91e58c4d18909fbfa1 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Fri, 8 May 2026 12:13:49 -0500 Subject: [PATCH] new temp zone --- dots/bin/temperature.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/bin/temperature.sh b/dots/bin/temperature.sh index 8fae984..6022d86 100755 --- a/dots/bin/temperature.sh +++ b/dots/bin/temperature.sh @@ -7,6 +7,7 @@ # `for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done` # list all temperatures: # `find /sys/devices -name "temp*_input"` +# `find /sys/devices -name "temp*_input" -exec sh -c 'echo "{}"; cat "{}"' \;` # pch_cometlake @ tuxwarrior (i found out by doing more on all tmp input files, and comparing with psensor values): # `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input` @@ -16,7 +17,7 @@ temp_file=$3 threshold_1=${threshold_1:=59} threshold_2=${threshold_2:=65} -temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input} +temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone1/hwmon6/temp1_input} # the value is reported in milli-degrees celsius. we divide by 1000 to convert to degrees celsius # icon: https://fontawesome.com/icons/temperature-full?f=classic&s=solid