Update temperature module with hwmon paths

This commit is contained in:
Andrew Scott 2023-06-17 05:22:04 -04:00
parent 488118888d
commit c6cc1db4d9
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -93,9 +93,11 @@
"temperature": {
{{- if eq .chezmoi.hostname "helix" }}
"thermal-zone": 0,
"hwmon-path": "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input",
"critical-threshold": 90,
{{- else if eq .chezmoi.hostname "hydrus" }}
"hwmon-path": "/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp2_input",
"critical-threshold": 90,
{{- else }}
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
@ -185,7 +187,6 @@
],
"modules-right": [
"backlight",
"network",
"cpu",
"memory",
@ -241,9 +242,17 @@
},
"temperature": {
{{- if eq .chezmoi.hostname "helix" }}
"hwmon-path": "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input",
"critical-threshold": 90,
{{- else if eq .chezmoi.hostname "hydrus" }}
"hwmon-path": "/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp2_input",
"critical-threshold": 90,
{{- else }}
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
// "critical-threshold": 80,
{{- end }}
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]