diff options
author | emersion <contact@emersion.fr> | 2017-12-05 10:40:55 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-05 10:40:55 +0100 |
commit | 90f7f1a0e61fa20ed1b74b9df057aa70abc791ed (patch) | |
tree | e201e4fb9fef471dd2fcf9581e26addfe3550502 /sway/commands/exec.c | |
parent | 83b4c0648d75932c693b8636242202ea728035da (diff) |
Add minimal config subsystem
Diffstat (limited to 'sway/commands/exec.c')
-rw-r--r-- | sway/commands/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/exec.c b/sway/commands/exec.c index dd71500a..fbbc4941 100644 --- a/sway/commands/exec.c +++ b/sway/commands/exec.c @@ -1,16 +1,16 @@ #include <string.h> #include "sway/commands.h" +#include "sway/config.h" #include "log.h" #include "stringop.h" struct cmd_results *cmd_exec(int argc, char **argv) { - // TODO: config - /*if (!config->active) return cmd_results_new(CMD_DEFER, "exec", NULL); + if (!config->active) return cmd_results_new(CMD_DEFER, "exec", NULL); if (config->reloading) { char *args = join_args(argv, argc); sway_log(L_DEBUG, "Ignoring 'exec %s' due to reload", args); free(args); return cmd_results_new(CMD_SUCCESS, NULL, NULL); - }*/ + } return cmd_exec_always(argc, argv); } |