summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenumount
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dmenumount')
-rwxr-xr-x.local/bin/dmenumount2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount
index 6784402..e01c7eb 100755
--- a/.local/bin/dmenumount
+++ b/.local/bin/dmenumount
@@ -31,6 +31,8 @@ mountusb() { \
mountandroid() { \
chosen=$(echo "$anddrives" | dmenu -i -p "Which Android device?" | cut -d : -f 1)
getmount "$HOME -maxdepth 3 -type d"
+ simple-mtpfs --device "$chosen" "$mp"
+ echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter"
simple-mtpfs --device "$chosen" "$mp"
notify-send "🤖 Android Mounting" "Android device mounted to $mp."
}