From 1c2517a3998385dbfca0559aca3ba7e72b5c216c Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Wed, 10 Oct 2012 09:53:34 +0200 Subject: i3status - Default to acpitz(4) instead of cpu(4) for OpenBSD temperature readings The acpitz(4) values are eventually used by the kernel to determine if the machine is getting too hot. --- include/i3status.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/i3status.h') diff --git a/include/i3status.h b/include/i3status.h index 2317936..93f9791 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -31,9 +31,11 @@ enum { O_DZEN2, O_XMOBAR, O_I3BAR, O_NONE } output_format; * Due to the fact there are various ways to obtain a temperature reading, THERMAL_ZONE will need * to be adjustable enough for those situations. As it can either be hw.sensors.cpu%d.temp0, or * hw.sensors.acpitz%d.temp0 or even something different entirely within hw.sensors.%s.temp0. - * XXX: For now just check cpu%d.temp0. Adjust this later. + * XXX: + * Due to the fact the i3status API only allows to set the THERMAL_ZONE parameter to an integer, + * we can't make this fully configureable (yet?). */ -#define THERMAL_ZONE "cpu%d" +#define THERMAL_ZONE "acpitz%d" #endif -- cgit v1.2.3