waybar use default temperature module

This commit is contained in:
Henrik Bakken
2026-10-07 21:36:37 +02:00
parent 50f61afdf6
commit cd40badbe0
5 changed files with 8 additions and 9 deletions
+4 -5
View File
@@ -85,11 +85,10 @@
"on-click": "footclient --app-id floating_shell --window-size-chars 120x45 -e btop" "on-click": "footclient --app-id floating_shell --window-size-chars 120x45 -e btop"
}, },
"custom/cputemp": { "temperature": {
"exec": "sensors | grep 'CPU:' | awk '{print substr($2,2); }'", "critical-threshold": 80,
"format": " {}", "format": " {temperatureC}°C",
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 watch sensors'", "on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 -e watch sensors'"
"interval": 1
}, },
"memory": { "memory": {
@@ -26,7 +26,7 @@
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"cpu", "cpu",
"custom/cputemp", "temperature",
"memory", "memory",
"custom/nvidia", "custom/nvidia",
"disk#root", "disk#root",
@@ -26,7 +26,7 @@
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"cpu", "cpu",
"custom/cputemp", "temperature",
"memory", "memory",
"custom/nvidia", "custom/nvidia",
"disk#root", "disk#root",
+1 -1
View File
@@ -12,7 +12,7 @@
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"cpu", "cpu",
"custom/cputemp", "temperature",
"memory", "memory",
"disk#root", "disk#root",
"backlight", "backlight",
@@ -12,7 +12,7 @@
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"cpu", "cpu",
"custom/cputemp", "temperature",
"memory", "memory",
"disk#root", "disk#root",
"backlight", "backlight",