From cc8305404f5c9745b893c22cd5de65d5809830c5 Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 5 Jun 2024 13:45:04 -0500 Subject: cas: use correct temp modules and battery This re-enables the battery module, as well as temp#0 and temp#1, which are the two more important sensors in cas. --- waybar/config | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'waybar') diff --git a/waybar/config b/waybar/config index ec04dec..1bc5dd3 100644 --- a/waybar/config +++ b/waybar/config @@ -11,7 +11,7 @@ "modules-left":[ "hyprland/workspaces", "custom/launcher", "hyprland/window"], "modules-center":[], - "modules-right":[ "mpd", "idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "tray", "custom/power"], + "modules-right":[ "mpd", "idle_inhibitor", "pulseaudio", "cpu", "memory", "battery", "temperature#0", "temperature#1", "backlight", "network", "clock", "tray", "custom/power"], // Modules configuration @@ -104,18 +104,18 @@ "format": "{capacity}%", "max-length": 25 }, - "temperature#cpu": { - // "thermal-zone": 2, - "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input", - "critical-threshold": 80, + "temperature#0": { + "thermal-zone": 0, + // "hwmon-path": "cat /sys/class/hwmon/hwmon5/temp1_input", + "critical-threshold": 110, // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C", "format-icons": ["", "", ""] }, - "temperature#gpu": { - // "thermal-zone": 2, - "hwmon-path": "/sys/class/hwmon/hwmon1/temp2_input", - "critical-threshold": 110, + "temperature#1": { + "thermal-zone": 1, + // "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input", + "critical-threshold": 126, // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C", "format-icons": ["", "", ""] -- cgit v1.2.3