dotfiles/tasks/input.yml

46 lines
1001 B
YAML
Raw Normal View History

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:
- 'ibus'
- 'ibus-uniemoji'
- 'libinput'
- 'libinput-gestures'
- 'solaar'
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-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 }}"
- name: Enable GB locale
locale_gen:
name: en_GB.UTF-8