aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index 0832d88d..deff7578 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -18,6 +18,17 @@ struct device_config {
struct wl_list link;
};
+enum binding_config_action {
+ BINDING_CONFIG_ACTION_QUIT,
+};
+
+struct binding_config {
+ xkb_keysym_t *keysyms;
+ size_t keysyms_len;
+ enum binding_config_action action;
+ struct wl_list link;
+};
+
struct roots_config {
// TODO: Multiple cursors, multiseat
struct {
@@ -27,6 +38,7 @@ struct roots_config {
struct wl_list outputs;
struct wl_list devices;
+ struct wl_list bindings;
char *config_path;
};