From 9391af624c07382663474f36573b8cbd87d78090 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 1 Jun 2019 10:53:34 -0400 Subject: dox --- .local/bin/dmenumount | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.local/bin/dmenumount') diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount index 0de5f0f..1feb204 100755 --- a/.local/bin/dmenumount +++ b/.local/bin/dmenumount @@ -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 -- cgit v1.3.1