This commit is contained in:
Luca 2022-11-22 13:25:44 +01:00
parent 8268fba83d
commit 7ed2a6e110
9565 changed files with 1315332 additions and 90 deletions

8
x11/00-keyboard.conf Normal file
View file

@ -0,0 +1,8 @@
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbOptions" "grp:alt_shift_toggle"
Option "XkbLayout" "fr,dz"
Option "XkbVariant" ",ar"
EndSection

9
x11/20-modesetting.conf Normal file
View file

@ -0,0 +1,9 @@
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "TearFree" "true"
EndSection

8
x11/40-libinput.conf Normal file
View file

@ -0,0 +1,8 @@
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
# Enable left mouse button by tapping
Option "Tapping" "on"
EndSection

1
x11/i915.conf Normal file
View file

@ -0,0 +1 @@
options i915 enable_guc=2 enable_fbc=1 fastboot=1

11
x11/install Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
# Display :
doas cp -r 20-modesetting.conf /etc/X11/xorg.conf.d/
doas cp -r modesetting.conf /etc/X11/xorg.conf.d/
# Mouse :
doas cp -r 40-libinput.conf /etc/X11/xorg.conf.d/
# Keybord :
doas cp -r 00-keyboard.conf /etc/X11/xorg.conf.d/
# Video Driver :
doas cp -r i915.conf /etc/modprobe.d/

5
x11/modesetting.conf Normal file
View file

@ -0,0 +1,5 @@
Section "Device"
Identifier "modesetting"
Driver "modesetting"
EndSection