diff options
author | Jasper Lievisse Adriaanse <jasper@openbsd.org> | 2012-10-10 09:53:34 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-10-16 10:48:44 +0200 |
commit | 1c2517a3998385dbfca0559aca3ba7e72b5c216c (patch) | |
tree | b2340b4ee6c501b5f78de5a5c1551ff553ac5903 /include | |
parent | ed03d2450ceae3cc7952b65d8349373bbb45a487 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/i3status.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |