u
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user