diff --git a/templates/40-workspaces.config.j2 b/templates/40-workspaces.config.j2 index 1f79ae2..a160a0c 100644 --- a/templates/40-workspaces.config.j2 +++ b/templates/40-workspaces.config.j2 @@ -3,7 +3,7 @@ set $ws{{ k }} {{ v }} {% endfor %} {% if sway_rules is defined %} -{% for i in rules %} +{% for i in sway_rules %} {{ i.verb }} {{ i.query }} {% if i.verb == 'assign' %}$ws{% endif %}{{ i.action }} {% endfor %} {% endif %}