This commit is contained in:
Luke Smith
2019-06-01 10:53:34 -04:00
parent 6b334b59fc
commit 9391af624c
3 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,9 @@
#!/bin/sh
# Gives a dmenu prompt to mount unmounted drives.
# If they're in /etc/fstab, they'll be mounted automatically.
# Otherwise, you'll be prompted to give a mountpoint from already existsing directories.
# If you input a novel directory, it will prompt you to create that directory.
# Gives a dmenu prompt to mount unmounted drives and Android phones. If
# they're in /etc/fstab, they'll be mounted automatically. Otherwise, you'll
# be prompted to give a mountpoint from already existsing directories. If you
# input a novel directory, it will prompt you to create that directory.
getmount() { \
[ -z "$chosen" ] && exit 1
@@ -51,7 +52,7 @@ if [ -z "$usbdrives" ]; then
else
if [ -z "$anddrives" ]; then
echo "USB drive(s) detected."
mountusb
mountusb
else
echo "Mountable USB drive(s) and Android device(s) detected."
asktype