diff options
author | Brian Ashworth <[email protected]> | 2018-10-08 11:40:13 -0400 |
---|---|---|
committer | Brian Ashworth <[email protected]> | 2018-10-09 08:12:46 -0400 |
commit | 1c969e86f50065985ddf35b7fef62c14aa7688a5 (patch) | |
tree | 1d44b026ffb8cd67595b695ac92275ba320ee4d9 /include/swaybar/config.h | |
parent | e143c9613d350b74e02c5ac3c9a055ab26fc9588 (diff) |
Implement bar bindsym
Diffstat (limited to 'include/swaybar/config.h')
-rw-r--r-- | include/swaybar/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/swaybar/config.h b/include/swaybar/config.h index 5f5688cf..d0336c27 100644 --- a/include/swaybar/config.h +++ b/include/swaybar/config.h @@ -3,6 +3,7 @@ #include <stdbool.h> #include <stdint.h> #include <wayland-client.h> +#include "list.h" #include "util.h" struct box_colors { @@ -17,6 +18,12 @@ struct config_output { size_t index; }; +struct swaybar_binding { + uint32_t button; + char *command; + bool release; +}; + struct swaybar_config { char *status_command; bool pango_markup; @@ -29,6 +36,7 @@ struct swaybar_config { bool binding_mode_indicator; bool wrap_scroll; bool workspace_buttons; + list_t *bindings; struct wl_list outputs; // config_output::link bool all_outputs; int height; |