summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2017-12-04 16:52:05 -0500
committerGitHub <[email protected]>2017-12-04 16:52:05 -0500
commit83b4c0648d75932c693b8636242202ea728035da (patch)
treed2ddf512ebc46ea2c93c7a487cdf758c84e3d0bd /sway/commands.c
parent9fbcdc79b692551cacdfda1f2413517fc556b66f (diff)
parent514c819ff98d72880c5b7e0beb7bd9ca866bc1ad (diff)
Merge pull request #1497 from emersion/cmd-exec
Add exec and exec_always commands
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 94a45253..5fdcdbb6 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -90,6 +90,8 @@ struct cmd_results *add_color(const char *name, char *buffer, const char *color)
/* Keep alphabetized */
static struct cmd_handler handlers[] = {
+ { "exec", cmd_exec },
+ { "exec_always", cmd_exec_always },
{ "exit", cmd_exit },
};