diff --git a/sway/config.c b/sway/config.c index 4636cff6..6d445ec6 100644 --- a/sway/config.c +++ b/sway/config.c @@ -304,6 +304,9 @@ char *do_var_replacement(char *str) { break; } } + if (i == config->symbols->length) { + ++find; + } } return str; }