summaryrefslogtreecommitdiff
path: root/i3status.c
AgeCommit message (Collapse)Author
2012-08-28add additional battery threshold type "percentage"Simon Elsbrock
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-05-25rename threshold to low_threshold and document it properlyMichael Stapelberg
2012-05-25colorize battery output if remaining time below thresholdSimon Elsbrock
2012-05-07Use (void) instead of () for functions without args (Thanks fernandotcl)Michael Stapelberg
See also: http://article.gmane.org/gmane.linux.kernel/1268792 The C compiler will handle (void) as "no arguments" and () as "variadic function" (equivalent to (...)) which might lead to subtle errors.
2012-05-02bump copyrightMichael Stapelberg
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-03-11Fix configuration paths in error messageMichael 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
2011-10-18make libconfuse handle config files case insensitiveMichael Stapelberg
2011-10-10Don’t use a default setting for 'order'Michael Stapelberg
This will make i3status depend on a useful configuration file (so /etc/i3status.conf has to be installed) to actually output anything. However, it fixes a very common error: people edit their i3status.conf and don’t get that the first order directive has to use =, not +=. Since order is now empty by default, you can use += everywhere.
2011-10-03Fix the default value for the load, also the manpage description (Thanks XTaran)Michael Stapelberg
2011-07-21bump copyright2.3Michael Stapelberg
2011-07-21Bugfix: Use gettimeofday instead of time. It provides higher precision.Michael Stapelberg
Otherwise, we sometimes have a wrong date/time.
2011-07-19update manpage, bump version, update copyrights, sync authors listMichael Stapelberg
2011-07-13magic: try to auto-detect output_format by default (dzen2/i3bar/xmobar)Michael Stapelberg
2011-06-30Bugfix: call setlocale() to make %c work in the date format (Thanks loz)Michael Stapelberg
2011-05-06Fix trailing whitespaces, document cpu_usage in manpageMichael Stapelberg
2011-05-06Add print_cpu_usagePeter Bui
2011-04-22Also use the correct time for the ddate moduleMichael Stapelberg
2011-04-22Bugfix: use localtime_r so that later calls in print_battery_info don’t ↵Michael Stapelberg
overwrite the time
2011-04-21get time at the beginning of the loopMichael Stapelberg
2011-01-06implement the 'path' option for cpu temperatureMichael Stapelberg
2010-10-24More sensible lookup order loading the config.Fernando Tarlá Cardoso Lemos
2010-09-23initialize result to NULL to shun compiler warningMichael Stapelberg
2010-09-23port support for xdg basedir and some makefile fixes from i3Michael Stapelberg
2010-09-22Implement --version/-v parameterMichael Stapelberg
2010-09-22Implement displaying the wireless connection speed (Thanks Felicitus)Michael Stapelberg
Based on a patch by Felicitus.
2010-07-21Bugfix: s/CASE_SEC/CASE_SEC_TITLE for volumeMichael Stapelberg
2010-07-20Implement ALSA volume supportMichael Stapelberg
2010-07-04Support customized colors.Fernando Tarlá Cardoso Lemos
2010-06-28Add fernandotcl to copyright noticeMichael Stapelberg
2010-06-19Implemented a ddate-moduleAxel Wagner
2010-04-06ipv6: provide format strings for ipv6 up and ipv6 downChristian Dietrich
2010-04-06ipv6: don't require a title for config optionChristian Dietrich
2010-01-30Instead of a relative sleep(1), sleep until the full secondMichael Stapelberg
This makes sure you don’t lag behind up to nearly one second in the worst case, depending on the start time of your i3status.
2009-10-24Fix function signature / pointer typeMichael Stapelberg
2009-10-24config: first try ~/.i3status.conf, then /etc/i3status.confMichael Stapelberg
2009-10-24Change output format to be a config option instead of a compile time defineMichael Stapelberg
2009-10-16battery: split up %remaining into %percentage and %remaining (Thanks shatter)Michael Stapelberg
2009-10-16Implement option to use the last full capacity instead of the design capacityMichael Stapelberg
2009-10-16Implement format_up/format_down for ethernetMichael Stapelberg
2009-10-15Separate license into file LICENSEMichael Stapelberg
2009-10-11Implement disk info (%free/%used/%total)Michael 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.
2009-09-01Fix compilation warningMichael Stapelberg
2009-08-18Bugfix: Correctly terminate output if time is specified in order but no ↵Michael Stapelberg
time_format given (Thanks XTaran)
2009-08-18Add support for xmobarMichael Stapelberg
Use i3status-xmobar | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]" You might need to copy the default configuration to ~/.xmobarrc
2009-07-21Correctly handle the order of itemsMichael Stapelberg