mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
bar_cmd_bindsym implemented
And comments removed And tabs instead of spaces
This commit is contained in:
parent
9b83222b47
commit
bd9ad18a80
3 changed files with 81 additions and 51 deletions
|
|
@ -26,6 +26,14 @@ struct sway_binding {
|
|||
char *command;
|
||||
};
|
||||
|
||||
/**
|
||||
* A mouse binding and an associated command.
|
||||
*/
|
||||
struct sway_mouse_binding {
|
||||
uint32_t button;
|
||||
char *command;
|
||||
};
|
||||
|
||||
/**
|
||||
* A "mode" of keybindings created via the `mode` command.
|
||||
*/
|
||||
|
|
@ -73,6 +81,7 @@ struct bar_config {
|
|||
*/
|
||||
char *hidden_state;
|
||||
uint32_t modifier;
|
||||
list_t *bindings;
|
||||
enum desktop_shell_panel_position position;
|
||||
char *status_command;
|
||||
char *font;
|
||||
|
|
@ -153,6 +162,10 @@ int sway_binding_cmp(const void *a, const void *b);
|
|||
int sway_binding_cmp_keys(const void *a, const void *b);
|
||||
void free_sway_binding(struct sway_binding *sb);
|
||||
|
||||
int sway_mouse_binding_cmp(const void *a, const void *b);
|
||||
int sway_mouse_binding_cmp_buttons(const void *a, const void *b);
|
||||
void free_sway_mouse_binding(struct sway_mouse_binding *smb);
|
||||
|
||||
/**
|
||||
* Global config singleton.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue