someday, i will write touch pad scipt
This commit is contained in:
12
scripts/scrcpy-autostart
Executable file
12
scripts/scrcpy-autostart
Executable 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
|
Reference in New Issue
Block a user