aboutsummaryrefslogtreecommitdiff
path: root/i3status.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-28add additional battery threshold type "percentage"Simon Elsbrock1-2/+3
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 Stapelberg1-2/+2
2012-05-25colorize battery output if remaining time below thresholdSimon Elsbrock1-1/+2
2012-05-07Use (void) instead of () for functions without args (Thanks fernandotcl)Michael Stapelberg1-1/+1
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 Stapelberg1-3/+3
2012-04-08add yajl compat codeMichael Stapelberg1-0/+9
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-39/+98
2012-03-11Fix configuration paths in error messageMichael Stapelberg1-2/+2
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+12
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 Stapelberg1-1/+2
2011-10-18make libconfuse handle config files case insensitiveMichael Stapelberg1-1/+1
2011-10-10Don’t use a default setting for 'order'Michael Stapelberg1-1/+4
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 Stapelberg1-1/+1
2011-07-21bump copyrightMichael Stapelberg1-2/+2
2011-07-21Bugfix: Use gettimeofday instead of time. It provides higher precision.Michael Stapelberg1-1/+3
Otherwise, we sometimes have a wrong date/time.
2011-07-19update manpage, bump version, update copyrights, sync authors listMichael Stapelberg1-1/+1
2011-07-13magic: try to auto-detect output_format by default (dzen2/i3bar/xmobar)Michael Stapelberg1-1/+12
2011-06-30Bugfix: call setlocale() to make %c work in the date format (Thanks loz)Michael Stapelberg1-0/+4
2011-05-06Fix trailing whitespaces, document cpu_usage in manpageMichael Stapelberg1-2/+2
2011-05-06Add print_cpu_usagePeter Bui1-0/+9
2011-04-22Also use the correct time for the ddate moduleMichael Stapelberg1-1/+1
2011-04-22Bugfix: use localtime_r so that later calls in print_battery_info don’t ↵Michael Stapelberg1-2/+5
overwrite the time
2011-04-21get time at the beginning of the loopMichael Stapelberg1-4/+8
2011-01-06implement the 'path' option for cpu temperatureMichael Stapelberg1-1/+2
2010-10-24More sensible lookup order loading the config.Fernando Tarlá Cardoso Lemos1-14/+16
2010-09-23initialize result to NULL to shun compiler warningMichael Stapelberg1-1/+1
2010-09-23port support for xdg basedir and some makefile fixes from i3Michael Stapelberg1-21/+99
2010-09-22Implement --version/-v parameterMichael Stapelberg1-3/+8
2010-09-22Implement displaying the wireless connection speed (Thanks Felicitus)Michael Stapelberg1-1/+1
Based on a patch by Felicitus.
2010-07-21Bugfix: s/CASE_SEC/CASE_SEC_TITLE for volumeMichael Stapelberg1-1/+1
2010-07-20Implement ALSA volume supportMichael Stapelberg1-0/+15
2010-07-04Support customized colors.Fernando Tarlá Cardoso Lemos1-0/+27
2010-06-28Add fernandotcl to copyright noticeMichael Stapelberg1-0/+1
2010-06-19Implemented a ddate-moduleAxel Wagner1-0/+10
2010-04-06ipv6: provide format strings for ipv6 up and ipv6 downChristian Dietrich1-2/+3
2010-04-06ipv6: don't require a title for config optionChristian Dietrich1-1/+1
2010-01-30Instead of a relative sleep(1), sleep until the full secondMichael Stapelberg1-1/+12
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 Stapelberg1-1/+1
2009-10-24config: first try ~/.i3status.conf, then /etc/i3status.confMichael Stapelberg1-1/+34
2009-10-24Change output format to be a config option instead of a compile time defineMichael Stapelberg1-0/+12
2009-10-16battery: split up %remaining into %percentage and %remaining (Thanks shatter)Michael Stapelberg1-1/+1
2009-10-16Implement option to use the last full capacity instead of the design capacityMichael Stapelberg1-1/+2
2009-10-16Implement format_up/format_down for ethernetMichael Stapelberg1-2/+3
2009-10-15Separate license into file LICENSEMichael Stapelberg1-27/+1
2009-10-11Implement disk info (%free/%used/%total)Michael Stapelberg1-0/+9
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg1-92/+120
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 Stapelberg1-1/+1
2009-08-18Bugfix: Correctly terminate output if time is specified in order but no ↵Michael Stapelberg1-6/+10
time_format given (Thanks XTaran)
2009-08-18Add support for xmobarMichael Stapelberg1-2/+2
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 Stapelberg1-41/+46