aboutsummaryrefslogtreecommitdiff
path: root/src/print_eth_info.c
AgeCommit message (Collapse)AuthorFilesLines
2015-03-25print_eth_info: fix warnings on FreeBSDBaptiste Daroussin1-2/+4
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg1-87/+88
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.
2014-03-12Unify use of string comparisonsMats1-4/+4
* strncmp(s1, s2, strlen(s2)) → BEGINS_WITH(s1, s2) * strncmp(s1, s2, strlen(s1)) → strcmp(s1, s2) * Prefer case-insensitive comparison for options
2013-10-07Allow to print eth information on NetBSDArnaud Degroote1-2/+2
2012-11-15DragonFlyBSD support addedScott Tincman1-2/+2
2012-10-10Implement %speed for Ethernet on OpenBSD.Jasper Lievisse Adriaanse1-0/+36
2012-05-04- Remove some superfluous #ifdef clutter - If we're compiling on !(Linux or ↵Jasper Lievisse Adriaanse1-6/+4
FreeBSD), just emit a '?'.
2012-04-08add yajl compat codeMichael Stapelberg1-0/+2
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-22/+17
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+9
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2010-07-04Support customized colors.Fernando Tarlá Cardoso Lemos1-2/+2
2010-02-14Colorize ethernet output (patch by Peter Johnson)Michael Stapelberg1-0/+6
2009-10-16Implement format_up/format_down for ethernetMichael Stapelberg1-2/+7
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg1-0/+95
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.