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