]> git.sur5r.net Git - i3/i3status/blobdiff - include/i3status.h
FreeBSD: switch from acpi to coretemp to get the cpu temperature
[i3/i3status] / include / i3status.h
index a54208f86bfb2ed039117a1de999aa5bda8f0c2a..24097b02ca6bf90fd4ac067dab83cef8f09fcc9b 100644 (file)
@@ -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"