feat: touchpad script
This commit is contained in:
parent
4ee606629d
commit
306f8ad364
1 changed files with 9 additions and 0 deletions
9
.local/bin/touchpad
Executable file
9
.local/bin/touchpad
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# xinput disable "Synaptics TM3145-005"
|
||||||
|
value=$(xinput --list-props "Synaptics TM3145-005" | head -n 2 | tail -c 2)
|
||||||
|
if [[ $value -eq 0 ]]
|
||||||
|
then
|
||||||
|
xinput enable "Synaptics TM3145-005"
|
||||||
|
else
|
||||||
|
xinput disable "Synaptics TM3145-005"
|
||||||
|
fi
|
Loading…
Reference in a new issue