This commit is contained in:
committer@tuxwarrior
2026-02-26 20:17:29 -05:00
parent d7558ebbd6
commit 662804dc42

View File

@@ -156,13 +156,17 @@
// https://github.com/Alexays/Waybar/wiki/Module:-Temperature
, "temperature":
{
// "thermal-zone": 3
// list all temperatures: `find /sys/devices -name "temp*_input"`
// pch_cometlake @ tuxwarrior (i found out by doing more on all tmp input files, and comparing with psensor values)
// `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` ➔ `/sys/class/hwmon/hwmon6/temp1_input`
"hwmon-path": "/sys/class/hwmon/hwmon6/temp1_input"
// list all termal zones:
// `for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done`
// list all temperatures:
// `find /sys/devices -name "temp*_input"`
// pch_cometlake @ tuxwarrior (i found out by doing more on all tmp input files, and comparing with psensor values):
// `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` = `/sys/class/hwmon/hwmon6/temp1_input`
// "thermal-zone": 3
"hwmon-path": ["/sys/class/hwmon/hwmon6/temp1_input", "NOT_IN_USE/sys/class/hwmon/hwmon2/temp1_input"]
, "critical-threshold": 65
, "format-critical": "{temperatureC}°C "
, "format": "{temperatureC}°C "
, "format": ">>{temperatureC}°C "
}
}