diff options
author | Drew DeVault <[email protected]> | 2015-08-04 21:30:40 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-08-04 21:30:40 -0400 |
commit | 542ef0c77700e67a95fcd08b5f305d1ab42046e1 (patch) | |
tree | 17333ebc1a65a28b9538de2da9264a45fc0cf9a9 /sway/config.h | |
parent | 6a33e1e3cddac31b762e4376e29c03ccf8f92107 (diff) |
Pull in some scas code and read i3 config file
Diffstat (limited to 'sway/config.h')
-rw-r--r-- | sway/config.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sway/config.h b/sway/config.h new file mode 100644 index 00000000..2fe566f0 --- /dev/null +++ b/sway/config.h @@ -0,0 +1,26 @@ +#ifndef _SWAY_CONFIG_H +#define _SWAY_CONFIG_H + +#include <stdint.h> +#include <wlc/wlc.h> +#include "list.h" + +struct sway_binding { + list_t *keys; + struct wlc_modifiers modifiers; + char *command; +}; + +struct sway_mode { + char *name; + list_t *bindings; +}; + +struct sway_config { + list_t *symbols; + list_t *modes; +}; + +struct sway_config *read_config(FILE *file); + +#endif |