diff options
author | Drew DeVault <[email protected]> | 2015-08-05 22:10:56 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-08-05 22:10:56 -0400 |
commit | d0f1fb71d11a709c55b0ed56a9f35920c1282ec8 (patch) | |
tree | 32edb44c8f44e3cbe52043566c688de48b795730 /sway/config.h | |
parent | e07c77fbb78b1d57a19904f2f5a7309ddfc40955 (diff) |
Flesh out some command parsing
This implements the `set` command from i3
Diffstat (limited to 'sway/config.h')
-rw-r--r-- | sway/config.h | 6 |
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); |