2024-05-30 16:28:31 +00:00
|
|
|
- name: Install xremap via AUR
|
|
|
|
import_role:
|
|
|
|
name: aur
|
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- xremap-wlroots-bin
|
|
|
|
|
|
|
|
- name: Setup xremap dir
|
|
|
|
file:
|
|
|
|
path: "{{ home }}/.config/xremap"
|
|
|
|
state: directory
|
|
|
|
recurse: true
|
|
|
|
|
2024-05-27 21:19:04 +00:00
|
|
|
- name: Generate xremap config
|
|
|
|
shell: "python3 {{ home }}/.dots/scripts/generate_xremap_config.py"
|
|
|
|
|
2024-05-30 16:28:31 +00:00
|
|
|
- name: Generate xremap systemd service unit
|
|
|
|
become: true
|
|
|
|
template:
|
|
|
|
src: systemd/system/xremap.service
|
|
|
|
dest: /usr/lib/systemd/system/xremap.service
|
|
|
|
|
|
|
|
- name: Enable xremap systemd service
|
|
|
|
become: true
|
2024-05-27 21:19:04 +00:00
|
|
|
ansible.builtin.systemd_service:
|
|
|
|
name: xremap
|
|
|
|
state: started
|
|
|
|
enabled: true
|