Polybar (barre de statut): Ajout d'explications sur la température + adaptation

This commit is contained in:
Olivier DOSSMANN 2019-12-28 09:57:48 +01:00
parent 9c7fd84df5
commit 21e3c3ab1f

View File

@ -335,7 +335,12 @@ type = internal/temperature
thermal-zone = 0
warn-temperature = 60
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
; 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/hwmon3/temp1_input
;format = <ramp> <label>
format = <label>