system-from-scratch/roles/desktop/tasks/sway.yml

21 lines
528 B
YAML
Raw Normal View History

2024-04-13 16:15:51 +05:00
- name: Install sway
become: true
ansible.builtin.apt:
pkg:
- sway
- 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'