From 542ef0c77700e67a95fcd08b5f305d1ab42046e1 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 4 Aug 2015 21:30:40 -0400 Subject: Pull in some scas code and read i3 config file --- sway/config.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sway/config.h (limited to 'sway/config.h') 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 +#include +#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 -- cgit v1.2.3