Use correct temperature sensors for Waybar

This commit is contained in:
Wekuz 2026-04-18 22:13:56 +03:00
parent 533cef31d3
commit c73cf0039f

View file

@ -50,7 +50,11 @@
},
"temperature": {
"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,
"format": "{temperatureC}°C {icon}",
"format-critical": "{temperatureC}°C {icon}",