summaryrefslogtreecommitdiff
path: root/sway/commands/exec_always.c
diff options
context:
space:
mode:
authoremersion <[email protected]>2017-12-05 10:40:55 +0100
committeremersion <[email protected]>2017-12-05 10:40:55 +0100
commit90f7f1a0e61fa20ed1b74b9df057aa70abc791ed (patch)
treee201e4fb9fef471dd2fcf9581e26addfe3550502 /sway/commands/exec_always.c
parent83b4c0648d75932c693b8636242202ea728035da (diff)
Add minimal config subsystem
Diffstat (limited to 'sway/commands/exec_always.c')
-rw-r--r--sway/commands/exec_always.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c
index 0a252e7b..9527a487 100644
--- a/sway/commands/exec_always.c
+++ b/sway/commands/exec_always.c
@@ -5,15 +5,15 @@
#include <sys/wait.h>
#include <unistd.h>
#include "sway/commands.h"
-#include "sway/workspace.h"
+#include "sway/config.h"
#include "sway/container.h"
+#include "sway/workspace.h"
#include "log.h"
#include "stringop.h"
struct cmd_results *cmd_exec_always(int argc, char **argv) {
struct cmd_results *error = NULL;
- // TODO: config
- //if (!config->active) return cmd_results_new(CMD_DEFER, NULL, NULL);
+ if (!config->active) return cmd_results_new(CMD_DEFER, NULL, NULL);
if ((error = checkarg(argc, "exec_always", EXPECTED_MORE_THAN, 0))) {
return error;
}