dotfiles/tasks/input.yml

72 lines
1.5 KiB
YAML
Raw Permalink Normal View History

- name: Install input packages
kewlfft.aur.aur:
2019-03-14 21:34:29 +00:00
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- gpointing-device-settings
2021-08-14 13:29:45 +01:00
- gromit-mpx
- ibus
- ibus-uniemoji
- libinput
- libinput-gestures
- solaar
- 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
2019-03-14 21:34:29 +00:00
file:
path: "{{ home }}/.config/uniemoji/"
2019-03-14 21:34:29 +00:00
state: directory
owner: "{{ user }}"
mode: 0755
- name: Create uniemoji config
2019-03-14 21:34:29 +00:00
copy:
src: ./files/uniemoji.json
dest: "{{ home }}/.config/uniemoji/custom.json"
2019-03-14 21:34:29 +00:00
mode: 0644
owner: "{{ user }}"
- name: Enable GB locale
locale_gen:
name: en_GB.UTF-8
- name: Enable US locale
locale_gen:
name: en_US.UTF-8
- 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 }}"