aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-10 17:07:02 +0200
committerGitHub <noreply@github.com>2018-10-10 17:07:02 +0200
commit0a36d14d7a694a88580da1d9b83837afe608a2eb (patch)
treee21f0b633212c6b8084348f08fc68cec2efece8b /include/sway
parent782ed19bc30378126f44272c1e46f2a05a9b2db1 (diff)
parentcd6917d4a821fe904a2c242dff673967aa3ad4b2 (diff)
Merge pull request #2798 from RedSoxFan/bar-bindsym
Implement bar bindsym
Diffstat (limited to 'include/sway')
-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 0325042c..bc02c0fd 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -239,6 +239,12 @@ struct bar_config {
} colors;
};
+struct bar_binding {
+ uint32_t button;
+ bool release;
+ char *command;
+};
+
struct border_colors {
float border[4];
float background[4];
@@ -533,6 +539,8 @@ struct bar_config *default_bar_config(void);
void free_bar_config(struct bar_config *bar);
+void free_bar_binding(struct bar_binding *binding);
+
void free_workspace_config(struct workspace_config *wsc);
/**