2020-03-30 19:36:05 +01:00
|
|
|
- name: Install input packages
|
2021-11-07 00:45:19 +00:00
|
|
|
kewlfft.aur.aur:
|
2019-03-14 21:34:29 +00:00
|
|
|
name: "{{ item }}"
|
|
|
|
become: true
|
|
|
|
become_user: aur_builder
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2021-08-14 13:29:45 +01:00
|
|
|
- gromit-mpx
|
2020-04-15 08:50:11 +01:00
|
|
|
- libinput
|
|
|
|
- libinput-gestures
|
|
|
|
- solaar
|
|
|
|
- xorg-xev
|
2019-03-14 21:34:29 +00:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install libinput-gestures config
|
|
|
|
copy:
|
2019-03-14 21:34:29 +00:00
|
|
|
src: ./files/libinput-gestures.conf
|
|
|
|
dest: /etc/libinput-gestures.conf
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
|
|
|
|
2020-03-30 19:36:05 +01:00
|
|
|
- name: Create uniemoji config directory
|
2019-03-14 21:34:29 +00:00
|
|
|
file:
|
2020-03-30 19:36:05 +01:00
|
|
|
path: "{{ home }}/.config/uniemoji/"
|
2019-03-14 21:34:29 +00:00
|
|
|
state: directory
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0755
|
|
|
|
|
2020-03-30 19:36:05 +01:00
|
|
|
- name: Create uniemoji config
|
2019-03-14 21:34:29 +00:00
|
|
|
copy:
|
2020-03-30 19:36:05 +01:00
|
|
|
src: ./files/uniemoji.json
|
|
|
|
dest: "{{ home }}/.config/uniemoji/custom.json"
|
2019-03-14 21:34:29 +00:00
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
2019-05-27 21:51:50 +01:00
|
|
|
|
|
|
|
- name: Enable GB locale
|
|
|
|
locale_gen:
|
|
|
|
name: en_GB.UTF-8
|
2019-05-27 21:52:28 +01:00
|
|
|
|
|
|
|
- name: Enable US locale
|
|
|
|
locale_gen:
|
|
|
|
name: en_US.UTF-8
|
2020-03-31 13:12:07 +01:00
|
|
|
|
|
|
|
- name: Make the FN key work the correct way on Apple keyboards
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/modprobe.d/hid_apple.conf
|
|
|
|
line: options hid_apple fnmode=2
|
|
|
|
create: true
|
2020-11-25 12:11:10 +00:00
|
|
|
mode: 0644
|
2021-08-14 13:29:45 +01:00
|
|
|
|
|
|
|
- name: Create gromit-mpx config
|
|
|
|
copy:
|
|
|
|
src: ./files/gromit-mpx.cfg
|
|
|
|
dest: "{{ home }}/.config/gromit-mpx.cfg"
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|