From 58d42a2ad3a47522b7683f12c48a13ef5eec63cd Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Sat, 1 Oct 2022 11:33:15 -0500 Subject: [PATCH] i3status: Make temperature off-by-default --- templates/.config/i3status/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/.config/i3status/config b/templates/.config/i3status/config index 1aa680b..ae8960e 100644 --- a/templates/.config/i3status/config +++ b/templates/.config/i3status/config @@ -59,11 +59,13 @@ memory { } order += "memory" +% if 'temperature-path' in host: cpu_temperature 0 { format = "temp: %degrees°C" - path = "${host.get('temperature_path', '/sys/class/thermal/thermal_zone0/temp')}" + path = "${host['temperature-path']}" } order += "cpu_temperature 0" +% endif tztime utc { format = "%Y-%m-%d %H:%M:%S"