summaryrefslogtreecommitdiff
path: root/src/print_cpu_temperature.c
AgeCommit message (Collapse)Author
2013-03-20Support colored output for CPU temperature on FreeBSDBaptiste Daroussin
2013-03-02Fix FTBFS on HurdJakob Haufe
On GNU/Hurd, THERMAL_ZONE is undefined. This makes compilation fail as outwalk is declared inside of #ifdef THERMAL_ZONE, but it's used outside of it (by OUTPUT_FULL_TEXT). This moves the declaration outside the #ifdef to allow for successful compilation on Hurd again.
2013-01-28retab! print_cpu_temperatureMichael Stapelberg
2013-01-28Make sure colorful_output variable is initialized.Emil Mikulic
2012-11-15DragonFlyBSD support addedScott Tincman
2012-10-16implement max_threshold for linux, tooMichael Stapelberg
2012-10-16i3status - More temperature related fixes for OpenBSD, and a general featureJasper Lievisse Adriaanse
- Temperature sensors can now set a 'max_threshold' value to color the output red if exceeded. - Allow for arbitrary temperature sensors nodes to be selected with 'path' on OpenBSD.
2012-10-16i3status - Default to acpitz(4) instead of cpu(4) for OpenBSD temperature ↵Jasper Lievisse Adriaanse
readings The acpitz(4) values are eventually used by the kernel to determine if the machine is getting too hot.
2012-05-09Error handling: Never output null as full_text (JSON), prefix messages with ↵Michael Stapelberg
i3status (Thanks Artemis) The former made i3bar crash, the latter is helpful for debugging.
2012-05-09Improve error message when the cpu temperature cannot be readMichael Stapelberg
2012-05-04Handle %d with non-default CPU temperature path.Ewgenij Starostin
2012-04-30Implement basic fetching of cpu temperature on OpenBSD.Jasper Lievisse Adriaanse
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2011-08-25make modules more resilient to failureConnor Lane Smith
2011-07-24only compile print_cpu_temperature if THERMAL_ZONE is availableMichael Stapelberg
Fixes FTBFS on hurd-i386
2011-01-06implement the 'path' option for cpu temperatureMichael Stapelberg
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg
We finally switched to libconfuse for a configuration file format which does not require much work for the programmer nor for the user. Plus, it avoids the Not-Invented-Here syndrome of yet another config file format. Furthermore, as a consequence of providing format strings for every "module" (ipv6, wireless, …), we directly print the output and thus we needed to drop support for wmii. This allowed us to get rid of quite some complexity. Documentation about the new configuration file and options will follow. This commit is the beginning of what will be i3status v2.0.