diff options
| author | Marco Hunsicker <i3@hunsicker.de> | 2014-03-05 20:53:07 +0100 | 
|---|---|---|
| committer | Michael Stapelberg <michael@stapelberg.de> | 2014-03-07 08:46:44 +0100 | 
| commit | 1de12e7b20e7ce38e2777218f1d922b3255599e1 (patch) | |
| tree | 237106d7c44437c2e477a8fb842828f4ca7bbb87 /contrib/net-speed | |
| parent | 0c2b518b8a30c08a69c07ab6ffeea98eb2d58424 (diff) | |
Support align and min_width module options
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
Diffstat (limited to 'contrib/net-speed')
0 files changed, 0 insertions, 0 deletions
