automatrop: Add joystick config and fix other stuff
This commit is contained in:
parent
e586eda6d9
commit
ecdbca37ba
|
@ -67,6 +67,14 @@
|
||||||
become: yes
|
become: yes
|
||||||
when: arch_based
|
when: arch_based
|
||||||
|
|
||||||
|
- name: Enable makepkg color
|
||||||
|
replace:
|
||||||
|
path: /etc/makepkg.conf
|
||||||
|
regexp: '^BUILDENV=(.+)!color(.+)$'
|
||||||
|
replace: 'BUILDENV=\1color\2'
|
||||||
|
become: yes
|
||||||
|
when: arch_based
|
||||||
|
|
||||||
- name: Enable makepkg ccache
|
- name: Enable makepkg ccache
|
||||||
replace:
|
replace:
|
||||||
path: /etc/makepkg.conf
|
path: /etc/makepkg.conf
|
||||||
|
@ -75,6 +83,24 @@
|
||||||
become: yes
|
become: yes
|
||||||
when: arch_based
|
when: arch_based
|
||||||
|
|
||||||
|
- name: Remove -mtune from makepkg CFLAGS
|
||||||
|
replace:
|
||||||
|
path: /etc/makepkg.conf
|
||||||
|
regexp: '^#? *CFLAGS=(.+)-mtune=\S+\s(.*)$'
|
||||||
|
replace: "CFLAGS=\\1\\2"
|
||||||
|
become: yes
|
||||||
|
when: arch_based
|
||||||
|
tags: g
|
||||||
|
|
||||||
|
- name: Change -march to native from makepkg CFLAGS
|
||||||
|
replace:
|
||||||
|
path: /etc/makepkg.conf
|
||||||
|
regexp: '^#? *CFLAGS=(.+)-march=\S+(\s)(.*)$'
|
||||||
|
replace: "CFLAGS=\\1-march=native\\2\\3"
|
||||||
|
become: yes
|
||||||
|
when: arch_based
|
||||||
|
tags: g
|
||||||
|
|
||||||
- name: Set makepkg MAKEFLAGS
|
- name: Set makepkg MAKEFLAGS
|
||||||
replace:
|
replace:
|
||||||
path: /etc/makepkg.conf
|
path: /etc/makepkg.conf
|
||||||
|
@ -85,14 +111,6 @@
|
||||||
j: "{{ [ansible_processor_nproc - 1, 1] | max | int }}"
|
j: "{{ [ansible_processor_nproc - 1, 1] | max | int }}"
|
||||||
when: arch_based
|
when: arch_based
|
||||||
|
|
||||||
- name: Enable makepkg color
|
|
||||||
replace:
|
|
||||||
path: /etc/makepkg.conf
|
|
||||||
regexp: '^BUILDENV=(.+)!color(.+)$'
|
|
||||||
replace: 'BUILDENV=\1color\2'
|
|
||||||
become: yes
|
|
||||||
when: arch_based
|
|
||||||
|
|
||||||
- name: Enable pacman ParallelDownloads
|
- name: Enable pacman ParallelDownloads
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/pacman.conf
|
path: /etc/pacman.conf
|
||||||
|
@ -161,6 +179,9 @@
|
||||||
notify: "software changed"
|
notify: "software changed"
|
||||||
tags: softwarelist
|
tags: softwarelist
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
msg: "{{ packages }}"
|
||||||
|
|
||||||
- name: Install packages (Arch-based)
|
- name: Install packages (Arch-based)
|
||||||
aur:
|
aur:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
|
|
|
@ -6,3 +6,10 @@ Section "InputClass"
|
||||||
Option "StartKeysEnabled" "False" #Disable mouse
|
Option "StartKeysEnabled" "False" #Disable mouse
|
||||||
Option "StartMouseEnabled" "False" #support
|
Option "StartMouseEnabled" "False" #support
|
||||||
EndSection
|
EndSection
|
||||||
|
# Same thing for DualShock 4 touchpad
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "ds4-touchpad"
|
||||||
|
Driver "libinput"
|
||||||
|
MatchProduct "Wireless Controller Touchpad"
|
||||||
|
Option "Ignore" "True"
|
||||||
|
EndSection
|
||||||
|
|
Loading…
Reference in a new issue