From a5b02791d43cc68cc9686266f725be0fea7072fa Mon Sep 17 00:00:00 2001 From: Luminarys Date: Mon, 10 Aug 2015 19:50:22 -0500 Subject: Changed command handler to perform var subs on all cmd args Fixed workspace_next_name to use the first workspace name it can find in the config Minor fixes Changed command handler to perform var subs on all portions of a command Revert "Changed command handler to perform var subs on all portions of a command" This reverts commit fcfcffa1ea9819bcada6e6c85b40b21bf1b3a96e. Var sub fixes Minor fixes More minor fixes --- sway/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sway/config.c') diff --git a/sway/config.c b/sway/config.c index a1689f36..6fe681f6 100644 --- a/sway/config.c +++ b/sway/config.c @@ -8,6 +8,8 @@ #include "commands.h" #include "config.h" +struct sway_config *config; + bool load_config() { sway_log(L_INFO, "Loading config"); // TODO: Allow use of more config file locations @@ -82,7 +84,7 @@ _continue: } if (is_active) { - config->reloading = true; + config->reloading = false; } return config; -- cgit v1.2.3