Add configuration option to disable window title

Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
This commit is contained in:
Felix Weilbach 2021-04-30 22:36:39 +02:00
parent 3d158264e2
commit 13835cf767
10 changed files with 62 additions and 16 deletions

View file

@ -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_window_title;
sway_cmd bar_cmd_workspace_min_width;
sway_cmd bar_colors_cmd_active_workspace;

View file

@ -327,6 +327,7 @@ struct bar_config {
char *font;
int height; // -1 not defined
bool workspace_buttons;
bool window_title;
bool wrap_scroll;
char *separator_symbol;
bool strip_workspace_numbers;
@ -361,8 +362,8 @@ struct bar_config {
char *binding_mode_text;
} colors;
#if HAVE_TRAY
char *icon_theme;
#if HAVE_TRAY
struct wl_list tray_bindings; // struct tray_binding::link
list_t *tray_outputs; // char *
int tray_padding;

View file

@ -38,6 +38,7 @@ struct swaybar_config {
bool binding_mode_indicator;
bool wrap_scroll;
bool workspace_buttons;
bool window_title;
uint32_t workspace_min_width;
list_t *bindings;
struct wl_list outputs; // config_output::link