aboutsummaryrefslogtreecommitdiff
path: root/src/output.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-04Added support for Pango markup.Kenneth Lyons1-0/+43
2015-10-04Added support for lemonbarBrendan Van Hook1-1/+6
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg1-39/+40
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-01Typo in function nameMarco Hunsicker1-1/+1
Fixes the typo in print_seperator()
2014-03-01i3status: Allow customization of module separatorMarco Hunsicker1-5/+8
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
2013-05-19Implement term-output-formatAxel Wagner1-1/+24
2012-05-07Use (void) instead of () for functions without args (Thanks fernandotcl)Michael Stapelberg1-2/+2
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-03-25Properly output JSON with libyajlMichael Stapelberg1-4/+0
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+4
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-4/+4
2009-10-24Change output format to be a config option instead of a compile time defineMichael Stapelberg1-13/+14
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg1-150/+4
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-26Bugfix: Don’t show colors in wireless info if colors are disabled (Thanks ↵Michael Stapelberg1-0/+4
shatter)
2009-08-18Add support for xmobarMichael Stapelberg1-3/+33
Use i3status-xmobar | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]" You might need to copy the default configuration to ~/.xmobarrc
2009-07-21Add modelines and retab! all filesMichael Stapelberg1-0/+1
2009-07-21Correctly handle the order of itemsMichael Stapelberg1-6/+7
2009-07-21Use own files for each function, add get_ipv6_addr.cMichael Stapelberg1-0/+157