aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h26
1 files changed, 19 insertions, 7 deletions
diff --git a/config.h b/config.h
index e8a06483..fac5ea89 100644
--- a/config.h
+++ b/config.h
@@ -15,23 +15,35 @@ struct config_font {
int px_size;
};
+struct config_key_modifiers {
+ bool shift;
+ bool alt;
+ bool ctrl;
+ bool meta;
+};
+
struct config_key_binding_normal {
enum bind_action_normal action;
- char *combos;
+ struct config_key_modifiers modifiers;
+ xkb_keysym_t sym;
struct {
char *cmd;
char **argv;
+ bool master_copy;
} pipe;
};
-struct config_mouse_binding {
- enum bind_action_normal action;
- char *combos;
-};
-
struct config_key_binding_search {
enum bind_action_search action;
- char *combos;
+ struct config_key_modifiers modifiers;
+ xkb_keysym_t sym;
+};
+
+struct config_mouse_binding {
+ enum bind_action_normal action;
+ struct config_key_modifiers modifiers;
+ int button;
+ int count;
};
struct config {