First commit

This commit is contained in:
Yorick Barbanneau 2022-11-30 09:40:47 +01:00
commit ed405fe273
4 changed files with 104 additions and 0 deletions

12
templates/config.j2 Normal file
View file

@ -0,0 +1,12 @@
# {{ ansible_managed }}
{% if swaylock_flags is defined %}
{% for flag in swaylock_flags %}
{{ flag }}
{% endfor %}
{% endif %}
{% if swaylock_options is defined %}
{% for key, value in swaylock_options.items() %}
{{ key }}={{ value }}
{% endfor %}
{% endif %}