This commit is contained in:
committer@tuxwarrior
2026-03-04 13:46:42 -05:00
parent 5e2bfe41b0
commit cbfcce6faa

View File

@@ -10,11 +10,11 @@
# 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`
threshold=$1
temp_file=$1
threshold=$2
temp_file=${temp_file:=/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input}
threshold=${threshold:=60}
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
# icon: https://fontawesome.com/icons/temperature-full?f=classic&s=solid