aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-04 22:43:49 +0100
committeremersion <contact@emersion.fr>2017-12-04 22:43:49 +0100
commit514c819ff98d72880c5b7e0beb7bd9ca866bc1ad (patch)
treed2ddf512ebc46ea2c93c7a487cdf758c84e3d0bd /sway/commands.c
parent9fbcdc79b692551cacdfda1f2413517fc556b66f (diff)
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 },
};