summaryrefslogtreecommitdiff
path: root/src/print_battery_info.c
AgeCommit message (Collapse)Author
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-11-26battery: implement "path" option for batteries with non-standard pathsMichael Stapelberg
2010-11-03battery: use POWER_NOW if CURRENT_NOW is not availableMichael Stapelberg
CURRENT_NOW was deprecated for some battery types in recent linux kernels (2.6.36)
2009-12-20Remove trailing whitespaceMichael Stapelberg
2009-12-20Implemented showing the time when battery is emptyAndré-Patrick Bubel
2009-10-16battery: split up %remaining into %percentage and %remaining (Thanks shatter)Michael Stapelberg
2009-10-16Actually use the format string for the battery (Thanks shatter)Michael Stapelberg
2009-10-16Implement option to use the last full capacity instead of the design capacityMichael 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.