diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2022-10-30 20:12:02 +0100 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2022-10-30 22:22:08 +0100 |
commit | c45342e74f1377d8fb85a0962c182f2c3e55108a (patch) | |
tree | d3a34efd316d531a1c6e5640a64c6414bbb8cfda /include | |
parent | 62eb0033b1313f58c8daa4c27821fb6cebf409de (diff) | |
download | i3-c45342e74f1377d8fb85a0962c182f2c3e55108a.tar.gz i3-c45342e74f1377d8fb85a0962c182f2c3e55108a.zip |
Merge support for the bar { height } option as-is from i3-gaps
related to https://github.com/i3/i3/issues/3724
related to https://github.com/i3/i3/issues/3721
In a follow-up commit, we can evolve this into the padding directive as
discussed on issue #3721.
Diffstat (limited to 'include')
-rw-r--r-- | include/config_directives.h | 1 | ||||
-rw-r--r-- | include/configuration.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/config_directives.h b/include/config_directives.h index 015154d5..a1fc57be 100644 --- a/include/config_directives.h +++ b/include/config_directives.h @@ -85,6 +85,7 @@ CFGFUN(bar_hidden_state, const char *hidden_state); CFGFUN(bar_id, const char *bar_id); CFGFUN(bar_output, const char *output); CFGFUN(bar_verbose, const char *verbose); +CFGFUN(bar_height, const long height); CFGFUN(bar_modifier, const char *modifiers); CFGFUN(bar_wheel_up_cmd, const char *command); CFGFUN(bar_wheel_down_cmd, const char *command); diff --git a/include/configuration.h b/include/configuration.h index 63d504de..b184a7b1 100644 --- a/include/configuration.h +++ b/include/configuration.h @@ -355,6 +355,9 @@ struct Barconfig { /** Enable verbose mode? Useful for debugging purposes. */ bool verbose; + /** Defines the height of the bar in pixels. */ + uint32_t bar_height; + struct bar_colors { char *background; char *statusline; |