dotfiles/tasks/input.yml

55 lines
1.1 KiB
YAML
Raw 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:
2021-08-14 13:29:45 +01:00
- gromit-mpx
- 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 }}"
- 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 }}"