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 fcfcffa1ea.

Var sub fixes

Minor fixes

More minor fixes
This commit is contained in:
Luminarys 2015-08-10 19:50:22 -05:00
parent 803a4739b6
commit a5b02791d4
3 changed files with 10 additions and 4 deletions

View file

@ -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;