Update
This commit is contained in:
@@ -13,7 +13,7 @@ sudo -A mount "$chosen" && exit 0
|
||||
# You may want to change the line below for more suggestions for mounting.
|
||||
# I.e. you can increase the depth of the search, or add directories.
|
||||
# This will increase the load time briefly though.
|
||||
mp="$(find /mnt /media /mount /home -type d -maxdepth 5 2>/dev/null | ~/.scripts/dmen.sh -i -p "Mount point:")"
|
||||
mp="$(find /mnt /media /mount /home -type d -maxdepth 5 2>/dev/null | ~/.scripts/dmenu.sh -i -p "Mount point:")"
|
||||
[ "$mp" = "" ] && exit 1
|
||||
if [ ! -d "$mp" ]; then
|
||||
mkdiryn=$(printf "No\\nYes" | ~/.scripts/dmenu.sh -i -p "$mp does not exist. Create it?")
|
||||
|
||||
Reference in New Issue
Block a user