1
0
Fork 0

Add falchion file

This commit is contained in:
Florian RICHER 2022-01-05 19:20:22 +01:00
parent 3e1430c6e2
commit 93fa7905c5
5 changed files with 42 additions and 7 deletions

View file

@ -0,0 +1,12 @@
#!/bin/bash
IDENTIFIER="ASUSTeK ROG FALCHION System Control"
LINE=$(xinput list | grep "$IDENTIFIER")
ID=$(echo ${LINE#*id=} | tr '\t' ' ' | cut -d ' ' -f1)
if [ -n "$ID" ]; then
xinput disable $ID
echo "Disabled xinput ID $ID ($IDENTIFIER)"
else
echo "No xinput ID for '$IDENTIFIER' found."
fi