aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 6a316596..f3f7efbf 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -2462,6 +2462,7 @@ struct cmd_results *config_command(char *exec, enum cmd_status block) {
// Var replacement, for all but first argument of set
for (i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) {
argv[i] = do_var_replacement(argv[i]);
+ unescape_string(argv[i]);
}
/* Strip quotes for first argument.
* TODO This part needs to be handled much better */