This commit is contained in:
committer@tuxwarrior
2026-02-26 20:22:07 -05:00
parent d79823521f
commit 104d87906f
2 changed files with 7 additions and 14 deletions

View File

@@ -350,9 +350,9 @@
// "thermal-zone": 3
"hwmon-path": ["/sys/class/hwmon/hwmon6/temp1_input", "NOT_IN_USE/sys/class/hwmon/hwmon2/temp1_input"],
// , "format-critical": "{temperatureC}°C "
"format-critical": ">>> {temperatureC}°C ",
"critical-threshold": 65,
"critical-threshold": 55,
"interval": 4,
"format": "{icon} {temperatureC}°",
"format-icons": ["", "", "", "", ""],

View File

@@ -156,17 +156,10 @@
// https://github.com/Alexays/Waybar/wiki/Module:-Temperature
, "temperature":
{
// 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 "
// "thermal-zone": 2
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input"
// "critical-threshold": 80
// "format-critical": "{temperatureC}°C "
"format": "{temperatureC}°C "
}
}