This commit is contained in:
2020-01-10 08:56:34 +01:00
5 changed files with 19 additions and 12 deletions

View File

@ -335,6 +335,11 @@ type = internal/temperature
thermal-zone = 0
warn-temperature = 60
; Full path of temperature sysfs path
; Use `sensors` to find preferred temperature source, then run
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
; to find path to desired file
; Default reverts to thermal zone setting
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
;format = <ramp> <label>