summaryrefslogtreecommitdiff
path: root/src/print_load.c
AgeCommit message (Collapse)Author
2020-05-01travis: update dist, add custom matrixOrestis Floros
New matrix for 5 jobs in total. Updates our checks to bionic & xenial. Trusty could also be included but it is a bit outdated at this point. I use bionic to pull a more recent clang-format and use a dedicated job just to check formatting. An alternative would be to conditionally run the formatting script only on bionic. I don't think that there is a better way to expand a `dist` x `compiler` matrix (except using docker).
2020-03-31use format_placeholder for loadFelix Buehler
2019-01-23Switch to autotools (#316)Michael Stapelberg
2018-07-13able to print percentageFelix Buehler
its now possible to have percentage before and after a variable. except for the date. But percentage with dates does not make much sense to me, so i skipped it.
2016-11-15Add 'format_below_threshold' option for 'disk' moduleMihai Coman
Add 'format_above_threshold' option for 'cpu_temperature' module Add 'format_above_threshold' option for 'cpu_usage' module Add 'format_above_threshold' option for 'load' module
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3status.
2013-07-09allow load to be a floatM. Kory Woods
2013-02-22Add colorized output for load avgRaphael Michel
2012-11-15DragonFlyBSD support addedScott Tincman
2012-05-09Error handling: Never output null as full_text (JSON), prefix messages with ↵Michael Stapelberg
i3status (Thanks Artemis) The former made i3bar crash, the latter is helpful for debugging.
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-08-25make modules more resilient to failureConnor Lane Smith
2009-12-13The load values represent 1,5,15 min, not 5,10,15 min (Thanks Chris)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.