waybar: add cpu temperature widget

This commit is contained in:
Olexandr Smirnov 2025-07-08 15:07:58 +03:00
parent d547f3db83
commit c51774f030
No known key found for this signature in database
4 changed files with 10 additions and 5 deletions

View file

@ -8,6 +8,11 @@
"format": " {:%a, %d %b %H:%M}", // replace %I with %H for 24h format
},
"temperature": {
"hwmon-path": "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.0/hwmon/hwmon3/temp1_input",
"format": " {temperatureC}°C"
},
"battery": {
"format": "{icon} {capacity}%",
"format-charging": "{icon} {capacity}%",