From 989123a2a5933367e5c7c39c3793f4814e026bf1 Mon Sep 17 00:00:00 2001 From: Tarmack Date: Sat, 3 Oct 2020 15:45:26 +0200 Subject: Add support for workspace_min_width bar option. --- include/sway/commands.h | 1 + include/sway/config.h | 1 + include/swaybar/config.h | 1 + 3 files changed, 3 insertions(+) (limited to 'include') 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; sway_cmd bar_cmd_unbindsym; sway_cmd bar_cmd_wrap_scroll; sway_cmd bar_cmd_workspace_buttons; +sway_cmd bar_cmd_workspace_min_width; sway_cmd bar_colors_cmd_active_workspace; 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 { struct side_gaps gaps; int status_padding; int status_edge_padding; + uint32_t workspace_min_width; struct { char *background; 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 { bool binding_mode_indicator; bool wrap_scroll; bool workspace_buttons; + uint32_t workspace_min_width; list_t *bindings; struct wl_list outputs; // config_output::link int height; -- cgit v1.2.3-54-g00ecf