diff options
author | Orestis Floros <orestisflo@gmail.com> | 2023-01-22 18:34:14 +0100 |
---|---|---|
committer | Orestis Floros <orestisflo@gmail.com> | 2023-01-22 18:59:58 +0100 |
commit | ba1f40f45fc03b279f55adcb4f7e00e38d78ba0e (patch) | |
tree | 34b2dfb64a0cacc94255b6a71f79643160dd3508 /include | |
parent | c52f13900df5da04d86809abbfe25178a4bbe305 (diff) | |
download | i3-ba1f40f45fc03b279f55adcb4f7e00e38d78ba0e.tar.gz i3-ba1f40f45fc03b279f55adcb4f7e00e38d78ba0e.zip |
i3bar: Add protocol for workspace buttons
Closes #3818 (parent issue)
Fixes #1808
Fixes #2333
Fixes #2617
Fixes #3548
Diffstat (limited to 'include')
-rw-r--r-- | include/config_directives.h | 1 | ||||
-rw-r--r-- | include/configuration.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/config_directives.h b/include/config_directives.h index 600226e9..f910d591 100644 --- a/include/config_directives.h +++ b/include/config_directives.h @@ -105,6 +105,7 @@ CFGFUN(bar_tray_output, const char *output); CFGFUN(bar_tray_padding, const long spacing_px); CFGFUN(bar_color_single, const char *colorclass, const char *color); CFGFUN(bar_status_command, const char *command); +CFGFUN(bar_workspace_command, const char *command); CFGFUN(bar_binding_mode_indicator, const char *value); CFGFUN(bar_workspace_buttons, const char *value); CFGFUN(bar_workspace_min_width, const long width); diff --git a/include/configuration.h b/include/configuration.h index 99f4b64e..19d2f714 100644 --- a/include/configuration.h +++ b/include/configuration.h @@ -335,6 +335,10 @@ struct Barconfig { * Will be passed to the shell. */ char *status_command; + /** Command that should be run to get the workspace buttons. Will be passed + * to the shell. */ + char *workspace_command; + /** Font specification for all text rendered on the bar. */ char *font; |