aboutsummaryrefslogtreecommitdiff
path: root/sway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.h')
-rw-r--r--sway/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/config.h b/sway/config.h
index 2fe566f0..b2475871 100644
--- a/sway/config.h
+++ b/sway/config.h
@@ -5,6 +5,11 @@
#include <wlc/wlc.h>
#include "list.h"
+struct sway_variable {
+ char *name;
+ char *value;
+};
+
struct sway_binding {
list_t *keys;
struct wlc_modifiers modifiers;
@@ -19,6 +24,7 @@ struct sway_mode {
struct sway_config {
list_t *symbols;
list_t *modes;
+ struct sway_mode *current_mode;
};
struct sway_config *read_config(FILE *file);