Add kanshi for both FreeBSD and Linux.

This commit is contained in:
Tom Alexander
2022-11-25 15:53:43 -05:00
parent 7c6c81711b
commit a702833aa4
25 changed files with 131 additions and 15 deletions

View File

@@ -0,0 +1,17 @@
- name: Copy files
copy:
src: "files/{{ item.src }}"
dest: "{{ account_homedir.stdout }}/{{ item.dest }}"
mode: 0600
owner: "{{ account_name.stdout }}"
group: "{{ group_name.stdout }}"
loop:
- src: kanshi.service
dest: .config/systemd/user/kanshi.service
- name: Enable services
systemd:
name: kanshi.service
daemon_reload: yes
enabled: true
scope: user