Order sway configuration file
This commit is contained in:
parent
b745ea72f1
commit
50c485a8cf
6 changed files with 69 additions and 5 deletions
9
templates/40-workspaces.config.j2
Normal file
9
templates/40-workspaces.config.j2
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue