summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-12-10 00:30:22 +0100
committerMichael Stapelberg <michael@stapelberg.de>2011-12-09 23:38:59 +0000
commit7148eb52790f78e4e4fb60555d19c5c958f271c7 (patch)
tree44d820bc914a60d2fddcdba0b8c4f4692c2e9c21 /include
parentfc3fac640f4b4b2dc5e0a9fc304ab41a912a96f0 (diff)
FreeBSD: switch from acpi to coretemp to get the cpu temperature
Diffstat (limited to 'include')
-rw-r--r--include/i3status.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h
index a54208f..24097b0 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -16,7 +16,8 @@ enum { O_DZEN2, O_XMOBAR, O_NONE } output_format;
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-#define THERMAL_ZONE "hw.acpi.thermal.tz%d.temperature"
+/* this needs the coretemp module to be loaded */
+#define THERMAL_ZONE "dev.cpu.%d.temperature"
#define BATT_LIFE "hw.acpi.battery.life"
#define BATT_TIME "hw.acpi.battery.time"
#define BATT_STATE "hw.acpi.battery.state"