setup/bin/dmenumount

8 lines
111 B
Bash
Executable File

#!/bin/sh
selected=$(simple-mtpfs -l | dmenu | cut --d : --f 1)
if [ ! -z $selected ]; then
echo 'found'
fi