update after artix installation on laptop

This commit is contained in:
2023-06-07 16:25:09 +02:00
parent 5229375e3b
commit dbc5c558a7
6 changed files with 40 additions and 12 deletions
+9
View File
@@ -0,0 +1,9 @@
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "TappingButtonMap" "lrm"
Option "NaturalScrolling" "true"
Option "ClickMethod" "clickfinger"
EndSection
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
config_file_name="30-touchpad.conf"
config_folder="/etc/X11/xorg.conf.d/"
resources_folder="$(dirname "$0")/resources"
if [ ! -f "$config_folder/$config_file_name" ]; then
if [ -f "$resources_folder/$config_file_name" ]; then
cp "$resources_folder/$config_file_name" "$config_folder/$config_file_name"
if [ -f "$config_folder/$config_file_name" ]; then
echo "File copied successfully."
else
echo "Error copying file"
fi
else
echo "Error: Resource file not found."
fi
else
echo "File already exists."
fi