Change output template and variable
This commit is contained in:
parent
3a4df1d28a
commit
9ce66100ab
2 changed files with 4 additions and 5 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
{% for output in sway_outputs %}
|
||||
{% if output.options is defined and ( output.status is not defined or output.status == 'enabled') %}
|
||||
{%- for option in output.options %}
|
||||
output {{ output.name ~ " " }} {{ option.option }} {{ option.value }}
|
||||
{%- for option, value in output.options.items() %}
|
||||
output {{ output.name ~ " " }} {{ option }} {{ value }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue