Order sway configuration file

This commit is contained in:
Yorick Barbanneau 2022-11-18 22:07:09 +01:00
parent b745ea72f1
commit 50c485a8cf
6 changed files with 69 additions and 5 deletions

View file

@ -0,0 +1,9 @@
{% for k,v in sway_workspaces.items() %}
set $ws{{ k }} {{ v }}
{% endfor %}
{% if sway_rules is defined %}
{% for i in rules %}
{{ i.verb }} {{ i.query }} {% if i.verb == 'assign' %}$ws{% endif %}{{ i.action }}
{% endfor %}
{% endif %}