aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2012-09-05modify START_COLOR macro variable namingSimon Elsbrock1-2/+2
Rename val to _val to prevent shadowing warnings due to its common naming.
2012-08-28add additional battery threshold type "percentage"Simon Elsbrock1-1/+1
The battery threshold can now be configured as type "time" or "percentage", but defaults to "time" to prevent unexpected behavior. Also, low_threshold was set to a more reasonable default of 30.
2012-08-13Bugfix: non-i3bar formats always used color_bad (Thanks hongy19)Michael Stapelberg1-1/+1
fixes #772
2012-05-25colorize battery output if remaining time below thresholdSimon Elsbrock1-1/+1
2012-04-30Implement basic fetching of cpu temperature on OpenBSD.Jasper Lievisse Adriaanse1-0/+9
2012-04-08add yajl compat codeMichael Stapelberg1-0/+1
2012-03-25use printf instead of write to not mix two ways of outputting dataMichael Stapelberg1-1/+1
Otherwise, the separator is not properly interleaved with output.
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-12/+74
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-1/+1
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-12-09FreeBSD: switch from acpi to coretemp to get the cpu temperatureBaptiste Daroussin1-1/+2
2011-11-26battery: implement "path" option for batteries with non-standard pathsMichael Stapelberg1-1/+1
2011-07-13magic: try to auto-detect output_format by default (dzen2/i3bar/xmobar)Michael Stapelberg1-0/+3
2011-05-06Add print_cpu_usagePeter Bui1-0/+1
2011-04-22Also use the correct time for the ddate moduleMichael Stapelberg1-1/+1
2011-04-21get time at the beginning of the loopMichael Stapelberg1-1/+2
2011-01-06implement the 'path' option for cpu temperatureMichael Stapelberg1-1/+1
2010-11-28Use kill(pid, 0) to check if the process is aliveMichael Stapelberg1-1/+1
2010-07-20Implement ALSA volume supportMichael Stapelberg2-0/+607