someday, i will write touch pad scipt

This commit is contained in:
2023-03-03 21:29:57 +05:00
parent 71537f9de5
commit d03559fd51
2 changed files with 31 additions and 0 deletions

12
scripts/scrcpy-autostart Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
while true; do
if [ -L /dev/android_adb ]
then
scrcpy --turn-screen-off --stay-awake & sndcpy
else
adb wait-for-device
fi
done