17 lines
426 B
YAML
17 lines
426 B
YAML
|
- name: Install swayidle and swaylock
|
||
|
become: true
|
||
|
ansible.builtin.apt:
|
||
|
pkg:
|
||
|
- swayidle
|
||
|
- swaylock
|
||
|
- name: Create swaylock config dir
|
||
|
ansible.builtin.file:
|
||
|
path: "{{ ansible_env.HOME }}/.config/swaylock"
|
||
|
state: directory
|
||
|
mode: '1770'
|
||
|
- name: Copy swaylock config file
|
||
|
ansible.builtin.copy:
|
||
|
src: files/swaylock
|
||
|
dest: "{{ ansible_env.HOME }}/.config/swaylock/config"
|
||
|
mode: '0660'
|