Added AndroidUSB mirroring option
This commit is contained in:
parent
7aa463ebc1
commit
a92d475e60
|
@ -2,7 +2,7 @@
|
|||
|
||||
res=$(echo "john.me.tz|root@john.me.tz|t470s.lan.john.me.tz|shb.ng|\
|
||||
kipary.fastnet.ch|media.lan.john.me.tz|pipcam0.lan.john.me.tz|\
|
||||
therm.lan.john.me.tz|hud.lan.john.me.tz|vm.lan.john.me.tz|mac.lan.john.me.tz" | \
|
||||
therm.lan.john.me.tz|hud.lan.john.me.tz|vm.lan.john.me.tz|mac.lan.john.me.tz|AndroidUSB" | \
|
||||
rofi -sep "|" -dmenu -i -p 'P ' "" -columns 1 -rows 1 -width 45 -l 1 -config \
|
||||
/home/jpm/.config/rofi/config -hide-scrollbar -eh 1 -location 0 -yoffset 0 \
|
||||
-padding 12 -opacity 100 -auto-select -no-fullscreen)
|
||||
|
@ -32,5 +32,7 @@ elif [ $res = "vm.lan.john.me.tz" ]; then
|
|||
/usr/bin/urxvt -e /bin/bash -c '/home/jpm/scripts/sshs v'
|
||||
elif [ $res = "mac.lan.john.me.tz" ]; then
|
||||
/usr/bin/gvncviewer 192.168.2.10 >> /home/jpm/macos
|
||||
elif [ $res = "AndroidUSB" ]; then
|
||||
/usr/bin/scrcpy
|
||||
fi
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue