Skip to content

Instantly share code, notes, and snippets.

@isair
Created April 14, 2020 17:18
Show Gist options
  • Save isair/8cbc3e912ed73ae1764a06409e64cf66 to your computer and use it in GitHub Desktop.
Save isair/8cbc3e912ed73ae1764a06409e64cf66 to your computer and use it in GitHub Desktop.
Script to mirror and control your Android phone from your desktop (requires scrcpy)
#!/usr/bin/env bash
#killall usbaudio
killall scrcpy
#usbaudio &
scrcpy -m 1515 --max-fps 30 -f
@isair
Copy link
Author

isair commented Apr 14, 2020

Press Ctrl + f to toggle fullscreen. Ctrl + o to turn off the screen of your phone (does not effect mirroring).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment