diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-15 05:22:51 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-15 05:22:51 -0500 |
commit | 9eecbb5d8a988a0dded57ead1982dd0121071454 (patch) | |
tree | 3b02befcc78d300a0fd84b5962b323d015369398 /include | |
parent | basic configuration (diff) | |
download | sway-9eecbb5d8a988a0dded57ead1982dd0121071454.tar.gz sway-9eecbb5d8a988a0dded57ead1982dd0121071454.tar.zst sway-9eecbb5d8a988a0dded57ead1982dd0121071454.zip |
xkb config
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 5 | ||||
-rw-r--r-- | include/sway/config.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index ce74e1ed..61950d0d 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -195,6 +195,11 @@ sway_cmd input_cmd_natural_scroll; | |||
195 | sway_cmd input_cmd_pointer_accel; | 195 | sway_cmd input_cmd_pointer_accel; |
196 | sway_cmd input_cmd_scroll_method; | 196 | sway_cmd input_cmd_scroll_method; |
197 | sway_cmd input_cmd_tap; | 197 | sway_cmd input_cmd_tap; |
198 | sway_cmd input_cmd_xkb_layout; | ||
199 | sway_cmd input_cmd_xkb_model; | ||
200 | sway_cmd input_cmd_xkb_options; | ||
201 | sway_cmd input_cmd_xkb_rules; | ||
202 | sway_cmd input_cmd_xkb_variant; | ||
198 | 203 | ||
199 | sway_cmd seat_cmd_attach; | 204 | sway_cmd seat_cmd_attach; |
200 | 205 | ||
diff --git a/include/sway/config.h b/include/sway/config.h index 5df5d61e..9bfda259 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -67,6 +67,12 @@ struct input_config { | |||
67 | int send_events; | 67 | int send_events; |
68 | int tap; | 68 | int tap; |
69 | 69 | ||
70 | char *xkb_layout; | ||
71 | char *xkb_model; | ||
72 | char *xkb_options; | ||
73 | char *xkb_rules; | ||
74 | char *xkb_variant; | ||
75 | |||
70 | bool capturable; | 76 | bool capturable; |
71 | struct wlr_box region; | 77 | struct wlr_box region; |
72 | }; | 78 | }; |