sway: fix CPU temp

This commit is contained in:
Roman Godmaire 2024-04-14 15:08:06 -04:00
parent 30b25bf02d
commit 0adc835e38

View file

@ -54,16 +54,19 @@
}, },
"cpu": { "cpu": {
"format": " {usage}%", "format": " {usage}%",
"tooltip": false "tooltip": false,
"interval": 2,
}, },
"memory": { "memory": {
"format": " {}%", "format": " {}%",
"format-alt": " {used} GiB", "format-alt": " {used} GiB",
"tooltip": false, "tooltip": false,
"interval": 2,
}, },
"temperature": { "temperature": {
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon8/temp1_input",
"critical-threshold": 80, "critical-threshold": 80,
"interval": 2,
"format": "{icon} {temperatureC}°C", "format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""], "format-icons": ["", "", ""],