dotfiles/tasks/input.yml
Jake Howard 79395ac589
Remove a bunch of old config to make way for KDE
Some of it might need restoring, but will work that out once I know what KDE doesn't do itself.
2023-09-23 15:18:49 +01:00

55 lines
1.1 KiB
YAML

- name: Install input packages
kewlfft.aur.aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- gromit-mpx
- libinput
- libinput-gestures
- solaar
- xorg-xev
- name: Install libinput-gestures config
copy:
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
- 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
mode: 0644
- name: Create gromit-mpx config
copy:
src: ./files/gromit-mpx.cfg
dest: "{{ home }}/.config/gromit-mpx.cfg"
mode: 0644
owner: "{{ user }}"