1de12e7b20
This patch enables users to define "align" and "min_width" options right in the i3status module config sections. Specifically this patch: * Adds macros for the two new options that are used in the option definitions. As the min_width option can take either a string or a number, a custom type has been added along with a corresponding callback function that parses the provided value (and provides input validation). The align option also uses a callback for input validation * Expands all module config option definitions to include the new options * Extends the SEC_CLOSE_MAP() macro to generate the JSON for the new options as necessary * Updates the manpage to explain the new options |
||
---|---|---|
contrib | ||
include | ||
man | ||
src | ||
yajl-fallback/yajl | ||
.gitignore | ||
CHANGELOG | ||
i3status.c | ||
i3status.conf | ||
LICENSE | ||
Makefile | ||
README |
┌────────────────────────────┐ │ Description │ └────────────────────────────┘ i3status is a small program (about 1500 SLOC) for generating a status bar for i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient by issuing a very small number of system calls, as one generally wants to update such a status line every second. This ensures that even under high load, your status bar is updated correctly. Also, it saves a bit of energy by not hogging your CPU as much as spawning the corresponding amount of shell commands would. ┌────────────────────────────┐ │ Development │ └────────────────────────────┘ i3status has the following dependencies: • libconfuse-dev • libyajl-dev • libasound2-dev • libiw-dev • libcap2-bin (for getting network status without root permissions) • asciidoc (only for the documentation) On debian-based systems, the following line will install all requirements: apt-get install libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libcap2-bin ┌────────────────────────────┐ │ Upstream │ └────────────────────────────┘ i3status is developed at http://code.i3wm.org/i3status You may clone the git-repository using git clone git://code.i3wm.org/i3status Please submit patches at http://cr.i3wm.org/ ┌────────────────────────────┐ │ Compilation │ └────────────────────────────┘ Compiling is done with the usual make-line make && sudo make install