summaryrefslogtreecommitdiff
path: root/i3status.c
AgeCommit message (Collapse)Author
2014-03-01i3status: Allow customization of module separatorMarco Hunsicker
This patch adds the ability to customize the separator that is placed between modules. Specifically this patch: * adds the "separator" general directive * moves the definition of the default separator for the different output formats (excluding color formatting) to src/i3status.c * updates the SEC_CLOSE_MAP macro to disable the separator for the i3bar output format if the separator directive dictates so * changes print_seperator() in src/output.c to take a separator parameter in order to disable the output of the separator if the separator is empty and to use the provided separator otherwise * updates the manpage to explain the new directive
2014-02-08Add hide_seconds optionIakov Davydov
fixes: #1134
2013-12-10disk: Distinguish between IEC, SI and custom prefixesMats
* IEC: Ki, Mi, Gi, Ti (powers of 1024) * SI: k, M, G, T (powers of 1000) * custom: K, M, G, T (powers of 1024)
2013-11-22Add support for path_exists directive.Kinware AB
2013-11-18Added different format string for volume in case it is muted.Gereon Kremer
If the volume is muted, the volume level would simply be displayed as zero and the color changed to color_degraded. This patch lets the user define a custom format string for when the volume is muted. The default value is "♪: 0%" ("♪: %volume" being the usual format).
2013-07-09allow load to be a floatM. Kory Woods
2013-06-11Bugfix: In term-output, clear line before drawing new oneAxel Wagner
If we don't do this, the output of i3status will remain on the terminal, which is really ugly if the statusline becomes shorter after a while (for example a connection get's lost), because there will be garbage.
2013-05-19signal handler: set flag because directly calling fprintf() is unsafeMichael Stapelberg
2013-05-19Implement term-output-formatAxel Wagner
2013-03-09Added format_down option for battery if no battery is available.Christoph Göttschkes
2013-02-22Add colorized output for load avgRaphael Michel
2013-02-14Added option to show battery capacity without decimalsJulien Lequertier
2013-02-10Add tztime module to support multiple different timezones.Emil Mikulic
2013-01-08make refreshs align with minutesGereon Kremer
2012-12-05make SIGUSR1 do nothing, so that killall -USR1 i3status will force an updateMichael Stapelberg
Sending SIGUSR1 will interrupt the nanosleep() and thus force a new iteration of i3status’s output loop. The signal handler itself is empty. Based on the question by ttjjss at http://faq.i3wm.org/question/854/how-to-force-status-bar-update/
2012-11-10Bugfix: make custom colors configurable for battery (Thanks thomas)Michael Stapelberg
fixes #865
2012-11-07Bugfix: make custom colors configurable for cpu_temperature (Thanks thomas)Michael Stapelberg
fixes #865
2012-10-24add good, degraded and bad colors per moduleMarcelo Cerri
This commit adds support for color_good, color_degraded and color_bad directives per module section in the config file.
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-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