First commit
This commit is contained in:
commit
ed405fe273
4 changed files with 104 additions and 0 deletions
13
templates/51-swaylock_keybindings.config.j2
Normal file
13
templates/51-swaylock_keybindings.config.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% for section in swaylock_keybindings %}
|
||||
{% if section.mode != "normal" %}
|
||||
mode {{ section.mode }} {
|
||||
{% endif %}
|
||||
|
||||
{% for bind in section.bindings %}
|
||||
bindsym {{ bind.bindsym }} {{ bind.action}}
|
||||
{% endfor %}
|
||||
|
||||
{% if section.mode != "normal" %}
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
12
templates/config.j2
Normal file
12
templates/config.j2
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue