2019-03-14 21:34:29 +00:00
|
|
|
- name: "Install input packages"
|
|
|
|
aur:
|
|
|
|
skip_installed: true
|
|
|
|
name: "{{ item }}"
|
|
|
|
become: true
|
|
|
|
become_user: aur_builder
|
|
|
|
when: "item not in installed_packages.stdout_lines"
|
|
|
|
with_items:
|
2019-07-25 08:58:28 +01:00
|
|
|
- 'gpointing-device-settings'
|
2019-03-14 21:34:29 +00:00
|
|
|
- 'ibus'
|
|
|
|
- 'ibus-uniemoji'
|
|
|
|
- 'libinput'
|
|
|
|
- 'libinput-gestures'
|
|
|
|
- 'solaar'
|
2019-10-04 09:29:16 +01:00
|
|
|
- 'xorg-xev'
|
2019-03-14 21:34:29 +00:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install mouse config
|
|
|
|
copy:
|
2019-03-14 21:34:29 +00:00
|
|
|
src: ./files/touchpad.conf
|
|
|
|
dest: /usr/share/X11/xorg.conf.d/30-touchpad.conf
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
|
|
|
|
2019-05-27 22:06:09 +01:00
|
|
|
- name: Install keyboard config
|
|
|
|
copy:
|
|
|
|
src: ./files/keyboard.conf
|
|
|
|
dest: /usr/share/X11/xorg.conf.d/00-keyboard.conf
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|
|
|
|
|
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 }}"
|
|
|
|
|
|
|
|
- name: "Create uniemoji config directory"
|
|
|
|
file:
|
|
|
|
path: '{{ home }}/.config/uniemoji/'
|
|
|
|
state: directory
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: "Create uniemoji config"
|
|
|
|
copy:
|
|
|
|
src: './files/uniemoji.json'
|
|
|
|
dest: '{{ home }}/.config/uniemoji/custom.json'
|
|
|
|
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
|