summaryrefslogtreecommitdiff
path: root/include/i3status.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/i3status.h')
-rw-r--r--include/i3status.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/i3status.h b/include/i3status.h
index 5d8d27b..d0361d1 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -33,6 +33,9 @@ enum { O_DZEN2, O_XMOBAR, O_I3BAR, O_TERM, O_NONE } output_format;
#elif defined(__OpenBSD__)
/* Default to acpitz(4) if no path is set. */
#define THERMAL_ZONE "acpitz%d"
+#elif defined(__NetBSD__)
+/* Rely on envsys(4). The key of the sensor is generally cpu%d temperature */
+#define THERMAL_ZONE "cpu%d temperature"
#endif
#if defined(__FreeBSD_kernel__) && defined(__GLIBC__)