added cpu temp to bar, need to clean up yet

This commit is contained in:
Mike G 2023-12-29 05:50:49 -05:00
parent d3336137a4
commit 17e8c76c98

View file

@ -12,6 +12,8 @@
], ],
"modules-right": "modules-right":
[ [
"temperature",
"custom/temp2",
"custom/notification", "custom/notification",
"custom/pacman", "custom/pacman",
"backlight", "backlight",
@ -169,6 +171,20 @@
}, },
"exec-if": "which waybar-updates", "exec-if": "which waybar-updates",
"exec": "waybar-updates" "exec": "waybar-updates"
},
"temperature": {
"thermal-zone": 0,
"critical-threshold": 80,
"formate-critical": "{temperatureC}°C",
"format": "{temperatureC}°C"
},
"custom/temp2": {
"hwmon-path": ["/sys/class/hwmon/hwmon2/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
"critical-threshold": 80,
"formate-critical": "{temperatureC}°C",
"format": "{temperatureC}°C"
} }
} }