How to keybind a command that requires escalated priv. Adb scrcpy awesome wm

ebscriptwalker

New Member
Joined
Jul 9, 2019
Messages
5
Reaction score
1
Credits
0
I have a simple adb script for automating my Android to turn on tethering, run dhcpcd and start scrcpy. It works great from shell, but i would like to bind it to a key in awesome wm. But i cant get it to work i believe because it requires sudo. Any thoughts? Thanks in advance also fyi running on arch.
 

Members online


Top