aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-08 11:40:13 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-09 08:12:46 -0400
commit1c969e86f50065985ddf35b7fef62c14aa7688a5 (patch)
tree1d44b026ffb8cd67595b695ac92275ba320ee4d9 /include/sway/config.h
parentMerge pull request #2804 from Emantor/swaynag-double-free (diff)
downloadsway-1c969e86f50065985ddf35b7fef62c14aa7688a5.tar.gz
sway-1c969e86f50065985ddf35b7fef62c14aa7688a5.tar.zst
sway-1c969e86f50065985ddf35b7fef62c14aa7688a5.zip
Implement bar bindsym
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 00b5f25b..549d2677 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -239,6 +239,12 @@ struct bar_config {
239 } colors; 239 } colors;
240}; 240};
241 241
242struct bar_binding {
243 uint32_t button;
244 bool release;
245 char *command;
246};
247
242struct border_colors { 248struct border_colors {
243 float border[4]; 249 float border[4];
244 float background[4]; 250 float background[4];
@@ -527,6 +533,8 @@ struct bar_config *default_bar_config(void);
527 533
528void free_bar_config(struct bar_config *bar); 534void free_bar_config(struct bar_config *bar);
529 535
536void free_bar_binding(struct bar_binding *binding);
537
530void free_workspace_config(struct workspace_config *wsc); 538void free_workspace_config(struct workspace_config *wsc);
531 539
532/** 540/**