mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
sway/bar: add bindgesture support
This commit is contained in:
parent
cab2189aa6
commit
b896841824
8 changed files with 169 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ sway_cmd cmd_ws_auto_back_and_forth;
|
|||
sway_cmd cmd_xwayland;
|
||||
|
||||
sway_cmd bar_cmd_bindcode;
|
||||
sway_cmd bar_cmd_bindgesture;
|
||||
sway_cmd bar_cmd_binding_mode_indicator;
|
||||
sway_cmd bar_cmd_bindsym;
|
||||
sway_cmd bar_cmd_colors;
|
||||
|
|
@ -228,6 +229,7 @@ sway_cmd bar_cmd_tray_bindsym;
|
|||
sway_cmd bar_cmd_tray_output;
|
||||
sway_cmd bar_cmd_tray_padding;
|
||||
sway_cmd bar_cmd_unbindcode;
|
||||
sway_cmd bar_cmd_unbindgesture;
|
||||
sway_cmd bar_cmd_unbindsym;
|
||||
sway_cmd bar_cmd_wrap_scroll;
|
||||
sway_cmd bar_cmd_workspace_buttons;
|
||||
|
|
|
|||
|
|
@ -355,6 +355,7 @@ struct bar_config {
|
|||
list_t *outputs;
|
||||
char *position;
|
||||
list_t *bindings;
|
||||
list_t *gestures;
|
||||
char *status_command;
|
||||
enum pango_markup_config pango_markup;
|
||||
char *font;
|
||||
|
|
@ -408,6 +409,11 @@ struct bar_binding {
|
|||
char *command;
|
||||
};
|
||||
|
||||
struct bar_gesture {
|
||||
struct gesture gesture;
|
||||
char *command;
|
||||
};
|
||||
|
||||
#if HAVE_TRAY
|
||||
struct tray_binding {
|
||||
uint32_t button;
|
||||
|
|
@ -717,6 +723,8 @@ void free_bar_config(struct bar_config *bar);
|
|||
|
||||
void free_bar_binding(struct bar_binding *binding);
|
||||
|
||||
void free_bar_gesture(struct bar_gesture *binding);
|
||||
|
||||
void free_workspace_config(struct workspace_config *wsc);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue