summaryrefslogtreecommitdiffstats
path: root/sway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.h')
-rw-r--r--sway/config.h26
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 @@
1#ifndef _SWAY_CONFIG_H
2#define _SWAY_CONFIG_H
3
4#include <stdint.h>
5#include <wlc/wlc.h>
6#include "list.h"
7
8struct sway_binding {
9 list_t *keys;
10 struct wlc_modifiers modifiers;
11 char *command;
12};
13
14struct sway_mode {
15 char *name;
16 list_t *bindings;
17};
18
19struct sway_config {
20 list_t *symbols;
21 list_t *modes;
22};
23
24struct sway_config *read_config(FILE *file);
25
26#endif