summaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-06-05 13:45:04 -0500
committerzachir <zachir@librem.one>2024-06-05 13:45:04 -0500
commitcc8305404f5c9745b893c22cd5de65d5809830c5 (patch)
treee41d6c0c31ece742117f669c5ee15e788e77d265 /waybar
parentdb516c6c949788b2be2a22aec4d07dff8138dd97 (diff)
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.
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config18
1 files changed, 9 insertions, 9 deletions
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": ["", "", ""]