Update hardware sensor for CPU temp

This commit is contained in:
Shaun Reed 2019-10-15 17:05:15 -04:00
parent b97ca60cf4
commit c867baebea
1 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,7 @@ module-margin = 4
; Type font ; Type font
font-0 = NotoSans-Regular:size=8;0 font-0 = NotoSans-Regular:size=8;0
font-1 = Inconsolata Nerd Font:size=12;0 font-1 = Inconsolata Nerd Font:size=12;0
font-2 = Unifont:size=8;0 font-2 = Noto Sans Mono:size=8;0
; Modules ; Modules
modules-left = powermenu weather modules-left = powermenu weather
@ -59,7 +59,8 @@ module-margin-right = 6
;font-0 = Source Code Pro:size=10;0 ;font-0 = Source Code Pro:size=10;0
font-0 = NotoSans-Regular:size=8;0 font-0 = NotoSans-Regular:size=8;0
font-1 = Inconsolata Nerd Font:size=12;0 font-1 = Inconsolata Nerd Font:size=12;0
font-2 = Unifont:size=8;0 font-2 = Noto Sans Mono:size=8;0
; Modules ; Modules
modules-left = temp-cpu cpu modules-left = temp-cpu cpu
@ -222,7 +223,7 @@ thermal-zone = 0
; $ 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 ; $ 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 ; to find path to desired file
; Default reverts to thermal zone setting ; Default reverts to thermal zone setting
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
; Base temperature for where to start the ramp (in degrees celsius) ; Base temperature for where to start the ramp (in degrees celsius)
; Default: 0 ; Default: 0
base-temperature = 20 base-temperature = 20