diff options
author | 2020-10-03 15:45:26 +0200 | |
---|---|---|
committer | 2020-10-11 19:12:42 +0200 | |
commit | 989123a2a5933367e5c7c39c3793f4814e026bf1 (patch) | |
tree | 8a13986177a3380b3d3c965ceb2526e6ceb9c88d /include | |
parent | xwayland: support views that change override-redirect status (diff) | |
download | sway-989123a2a5933367e5c7c39c3793f4814e026bf1.tar.gz sway-989123a2a5933367e5c7c39c3793f4814e026bf1.tar.zst sway-989123a2a5933367e5c7c39c3793f4814e026bf1.zip |
Add support for workspace_min_width bar option.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 | ||||
-rw-r--r-- | include/swaybar/config.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 07730f98..f549626b 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -228,6 +228,7 @@ sway_cmd bar_cmd_unbindcode; | |||
228 | sway_cmd bar_cmd_unbindsym; | 228 | sway_cmd bar_cmd_unbindsym; |
229 | sway_cmd bar_cmd_wrap_scroll; | 229 | sway_cmd bar_cmd_wrap_scroll; |
230 | sway_cmd bar_cmd_workspace_buttons; | 230 | sway_cmd bar_cmd_workspace_buttons; |
231 | sway_cmd bar_cmd_workspace_min_width; | ||
231 | 232 | ||
232 | sway_cmd bar_colors_cmd_active_workspace; | 233 | sway_cmd bar_colors_cmd_active_workspace; |
233 | sway_cmd bar_colors_cmd_background; | 234 | sway_cmd bar_colors_cmd_background; |
diff --git a/include/sway/config.h b/include/sway/config.h index 5ad240d3..ee1852d4 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -320,6 +320,7 @@ struct bar_config { | |||
320 | struct side_gaps gaps; | 320 | struct side_gaps gaps; |
321 | int status_padding; | 321 | int status_padding; |
322 | int status_edge_padding; | 322 | int status_edge_padding; |
323 | uint32_t workspace_min_width; | ||
323 | struct { | 324 | struct { |
324 | char *background; | 325 | char *background; |
325 | char *statusline; | 326 | char *statusline; |
diff --git a/include/swaybar/config.h b/include/swaybar/config.h index 688fa2d7..4cacd21a 100644 --- a/include/swaybar/config.h +++ b/include/swaybar/config.h | |||
@@ -38,6 +38,7 @@ struct swaybar_config { | |||
38 | bool binding_mode_indicator; | 38 | bool binding_mode_indicator; |
39 | bool wrap_scroll; | 39 | bool wrap_scroll; |
40 | bool workspace_buttons; | 40 | bool workspace_buttons; |
41 | uint32_t workspace_min_width; | ||
41 | list_t *bindings; | 42 | list_t *bindings; |
42 | struct wl_list outputs; // config_output::link | 43 | struct wl_list outputs; // config_output::link |
43 | int height; | 44 | int height; |