New folder structure

This commit is contained in:
2023-04-03 17:47:42 +02:00
commit a2bdf977d9
42 changed files with 2055 additions and 0 deletions

15
System/ajustaTouchpad.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
id=$(xinput list | grep Touchpad | awk '{print $6}' | grep -o '[0-9]\+')
tap=$(xinput list-props $id | grep "Tapping Enabled (" | awk '{print $4}' | grep -o '[0-9]\+')
speed=$(xinput list-props $id | grep "Accel Speed (" | awk '{print $4}' | grep -o '[0-9]\+')
scroll=$(xinput list-props $id | grep "Natural Scrolling Enabled (" | awk '{print $5}' | grep -o '[0-9]\+')
echo $id $tap $speed
xinput set-prop $id $tap 1
xinput set-prop $id $speed 0.4
xinput set-prop $id $scroll 1
unset id
unset prop
unset val