From: Baptiste Daroussin Date: Fri, 9 Dec 2011 23:30:22 +0000 (+0100) Subject: FreeBSD: switch from acpi to coretemp to get the cpu temperature X-Git-Tag: 2.4~3 X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3status;a=commitdiff_plain;h=7148eb52790f78e4e4fb60555d19c5c958f271c7 FreeBSD: switch from acpi to coretemp to get the cpu temperature --- 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"