Use correct temperature sensors for Waybar
This commit is contained in:
parent
6c06c79370
commit
7eb4cbaa20
1 changed files with 5 additions and 1 deletions
|
|
@ -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}",
|
||||||
Loading…
Add table
Reference in a new issue