From 4a1eb817fbe29899cfe2b3b254b13b6006fdcdde Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Sat, 1 Oct 2022 10:57:43 -0500 Subject: [PATCH] i3status: Add CPU temperature monitor --- templates/.config/i3status/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/.config/i3status/config b/templates/.config/i3status/config index c27eaa7..1aa680b 100644 --- a/templates/.config/i3status/config +++ b/templates/.config/i3status/config @@ -59,6 +59,12 @@ memory { } order += "memory" +cpu_temperature 0 { + format = "temp: %degrees°C" + path = "${host.get('temperature_path', '/sys/class/thermal/thermal_zone0/temp')}" +} +order += "cpu_temperature 0" + tztime utc { format = "%Y-%m-%d %H:%M:%S" timezone = UTC