Initial commit
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
touchpad_id=$(xinput list | grep -i 'touchpad' | grep -oE 'id=[0-9]+' | cut -d= -f2)
|
||||
|
||||
if [ -z "$touchpad_id" ]; then
|
||||
echo "Touchpad not found." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
xinput set-prop "$touchpad_id" "libinput Tapping Enabled" 1
|
||||
xinput set-prop "$touchpad_id" "libinput Natural Scrolling Enabled" 1
|
||||
|
||||
Reference in New Issue
Block a user