summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-04-24 14:59:49 +1000
committerRyan Dwyer <[email protected]>2018-04-24 20:08:32 +1000
commit72767e1cc302e7aee9645c1eae3f51abe53fb378 (patch)
tree5220706816f7e4601f4213812ef1eb3e4cc7fa4b /sway/commands.c
parent38c44f2f27f218ed7e61c9910491eef78551d8ea (diff)
Implement criteria commands
Implements the following commands: * for_window [...] <cmdlist> * assign [...] <workspace>
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 6af3c5d0..5827fc13 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -93,12 +93,14 @@ void apply_seat_config(struct seat_config *seat_config) {
/* Keep alphabetized */
static struct cmd_handler handlers[] = {
+ { "assign", cmd_assign },
{ "bar", cmd_bar },
{ "bindcode", cmd_bindcode },
{ "bindsym", cmd_bindsym },
{ "exec", cmd_exec },
{ "exec_always", cmd_exec_always },
{ "focus_follows_mouse", cmd_focus_follows_mouse },
+ { "for_window", cmd_for_window },
{ "fullscreen", cmd_fullscreen },
{ "include", cmd_include },
{ "input", cmd_input },