u
This commit is contained in:
@@ -156,13 +156,17 @@
|
|||||||
// https://github.com/Alexays/Waybar/wiki/Module:-Temperature
|
// https://github.com/Alexays/Waybar/wiki/Module:-Temperature
|
||||||
, "temperature":
|
, "temperature":
|
||||||
{
|
{
|
||||||
// "thermal-zone": 3
|
// list all termal zones:
|
||||||
// list all temperatures: `find /sys/devices -name "temp*_input"`
|
// `for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done`
|
||||||
// pch_cometlake @ tuxwarrior (i found out by doing more on all tmp input files, and comparing with psensor values)
|
// list all temperatures:
|
||||||
// `/sys/devices/virtual/thermal/thermal_zone3/hwmon6/temp1_input` ➔ `/sys/class/hwmon/hwmon6/temp1_input`
|
// `find /sys/devices -name "temp*_input"`
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon6/temp1_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
|
, "critical-threshold": 65
|
||||||
, "format-critical": "{temperatureC}°C "
|
, "format-critical": "{temperatureC}°C "
|
||||||
, "format": "{temperatureC}°C "
|
, "format": ">>{temperatureC}°C "
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user