Use correct temperature sensors for Waybar

This commit is contained in:
Wekuz 2026-04-18 22:13:56 +03:00
parent 6c06c79370
commit 7eb4cbaa20
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9

View file

@ -50,7 +50,11 @@
}, },
"temperature": { "temperature": {
"interval": 5, "interval": 5,
"hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input", {{- if eq .chezmoi.hostname "wkz-pc" }}
"hwmon-path": "/sys/class/hwmon/hwmon2/temp3_input",
{{- else if eq .chezmoi.hostname "wkz-lapdog" }}
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
{{- end }}
"critical-threshold": 70, "critical-threshold": 70,
"format": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}",
"format-critical": "{temperatureC}°C {icon}", "format-critical": "{temperatureC}°C {icon}",