u
This commit is contained in:
@@ -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": ["", "", "", "", ""],
|
||||
|
||||
@@ -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 "
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user