aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-24 14:59:49 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-24 20:08:32 +1000
commit72767e1cc302e7aee9645c1eae3f51abe53fb378 (patch)
tree5220706816f7e4601f4213812ef1eb3e4cc7fa4b /sway/commands.c
parentMerge pull request #1851 from RyanDwyer/container-descendants-crash (diff)
downloadsway-72767e1cc302e7aee9645c1eae3f51abe53fb378.tar.gz
sway-72767e1cc302e7aee9645c1eae3f51abe53fb378.tar.zst
sway-72767e1cc302e7aee9645c1eae3f51abe53fb378.zip
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) {
93 93
94/* Keep alphabetized */ 94/* Keep alphabetized */
95static struct cmd_handler handlers[] = { 95static struct cmd_handler handlers[] = {
96 { "assign", cmd_assign },
96 { "bar", cmd_bar }, 97 { "bar", cmd_bar },
97 { "bindcode", cmd_bindcode }, 98 { "bindcode", cmd_bindcode },
98 { "bindsym", cmd_bindsym }, 99 { "bindsym", cmd_bindsym },
99 { "exec", cmd_exec }, 100 { "exec", cmd_exec },
100 { "exec_always", cmd_exec_always }, 101 { "exec_always", cmd_exec_always },
101 { "focus_follows_mouse", cmd_focus_follows_mouse }, 102 { "focus_follows_mouse", cmd_focus_follows_mouse },
103 { "for_window", cmd_for_window },
102 { "fullscreen", cmd_fullscreen }, 104 { "fullscreen", cmd_fullscreen },
103 { "include", cmd_include }, 105 { "include", cmd_include },
104 { "input", cmd_input }, 106 { "input", cmd_input },