mirror of
https://github.com/swaywm/sway.git
synced 2026-04-27 06:46:25 -04:00
Add workspace_buttons_all_outputs command
Add a bar command that makes it so all workspaces are shown, even the ones that do not belong to the bar's output.
This commit is contained in:
parent
8441711990
commit
2b7454ca22
11 changed files with 47 additions and 1 deletions
|
|
@ -222,6 +222,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_buttons_all_outputs;
|
||||
|
||||
sway_cmd bar_colors_cmd_active_workspace;
|
||||
sway_cmd bar_colors_cmd_background;
|
||||
|
|
|
|||
|
|
@ -265,6 +265,7 @@ struct bar_config {
|
|||
char *font;
|
||||
int height; // -1 not defined
|
||||
bool workspace_buttons;
|
||||
bool workspace_buttons_all_outputs;
|
||||
bool wrap_scroll;
|
||||
char *separator_symbol;
|
||||
bool strip_workspace_numbers;
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ struct swaybar_config {
|
|||
bool binding_mode_indicator;
|
||||
bool wrap_scroll;
|
||||
bool workspace_buttons;
|
||||
bool workspace_buttons_all_outputs;
|
||||
list_t *bindings;
|
||||
struct wl_list outputs; // config_output::link
|
||||
bool all_outputs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue