mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Optionally add focused window title to the bar
Add a "window_title yes|no" bar command that displays the title of the focused window on the bar.
This commit is contained in:
parent
8441711990
commit
8a019a83c9
10 changed files with 131 additions and 1 deletions
|
|
@ -34,10 +34,12 @@ struct swaybar_config {
|
|||
char *mode;
|
||||
char *hidden_state;
|
||||
char *modifier;
|
||||
char *title;
|
||||
bool strip_workspace_numbers;
|
||||
bool strip_workspace_name;
|
||||
bool binding_mode_indicator;
|
||||
bool wrap_scroll;
|
||||
bool window_title;
|
||||
bool workspace_buttons;
|
||||
list_t *bindings;
|
||||
struct wl_list outputs; // config_output::link
|
||||
|
|
@ -51,6 +53,7 @@ struct swaybar_config {
|
|||
int bottom;
|
||||
int left;
|
||||
} gaps;
|
||||
uint64_t window_app_id;
|
||||
|
||||
struct {
|
||||
uint32_t background;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue