Implement criteria commands

Implements the following commands:

* for_window [...] <cmdlist>
* assign [...] <workspace>
This commit is contained in:
Ryan Dwyer 2018-04-24 14:59:49 +10:00
parent 38c44f2f27
commit 72767e1cc3
5 changed files with 129 additions and 0 deletions

View file

@ -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 },