From 17e8c76c98f5ba40213e281c46af8e153b183c1c Mon Sep 17 00:00:00 2001 From: MikeG Date: Fri, 29 Dec 2023 05:50:49 -0500 Subject: [PATCH] added cpu temp to bar, need to clean up yet --- .config/waybar/config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.config/waybar/config b/.config/waybar/config index cde59a3..6791e41 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -12,6 +12,8 @@ ], "modules-right": [ + "temperature", + "custom/temp2", "custom/notification", "custom/pacman", "backlight", @@ -169,6 +171,20 @@ }, "exec-if": "which 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" } }