summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/mounter2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/mounter b/.local/bin/mounter
index edab8af..d7c1b06 100755
--- a/.local/bin/mounter
+++ b/.local/bin/mounter
@@ -87,7 +87,7 @@ case "$chosen" in
echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter"
chosen="${chosen%%:*}"
chosen="${chosen:1}" # This is a bashism.
- simple-mtpfs --device "$chosen" "$mp"
+ sudo -A simple-mtpfs -o allow_other --device "$chosen" "$mp"
notify-send "🤖 Android Mounted." "Android device mounted to $mp."
;;
esac