• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Raffle Link

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


New Member
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