aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2022-10-30 20:12:02 +0100
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2022-10-30 22:22:08 +0100
commitc45342e74f1377d8fb85a0962c182f2c3e55108a (patch)
treed3a34efd316d531a1c6e5640a64c6414bbb8cfda /include
parent62eb0033b1313f58c8daa4c27821fb6cebf409de (diff)
downloadi3-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.h1
-rw-r--r--include/configuration.h3
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;