28 lines
765 B
YAML
28 lines
765 B
YAML
- name: Install sway, grim, slurp and wl-clipboard
|
|
become: true
|
|
ansible.builtin.apt:
|
|
pkg:
|
|
- sway
|
|
- grim
|
|
- slurp
|
|
- wl-clipboard
|
|
- name: Create sway config dir
|
|
ansible.builtin.file:
|
|
path: "{{ ansible_env.HOME }}/.config/sway"
|
|
state: directory
|
|
mode: '1770'
|
|
- name: Copy sway config file
|
|
ansible.builtin.copy:
|
|
src: files/sway.conf
|
|
dest: "{{ ansible_env.HOME }}/.config/sway/config"
|
|
mode: '0660'
|
|
- name: Copy sway config.d files
|
|
ansible.builtin.copy:
|
|
src: files/sway.d/
|
|
dest: "{{ ansible_env.HOME }}/.config/sway/config.d/"
|
|
mode: '1770'
|
|
- name: Create directory for screenshots
|
|
ansible.builtin.file:
|
|
path: "{{ ansible_env.HOME }}/Pictures/screenshots"
|
|
state: directory
|
|
mode: '1770'
|