9 lines
139 B
Bash
Executable File
9 lines
139 B
Bash
Executable File
#!/bin/sh
|
|
FILE=$(find -maxdepth 5 -type f | dmenu -c -i -l 10 -p "path to open")
|
|
|
|
if ( ./"$FILE" ); then
|
|
exit
|
|
else
|
|
xdg-open "$FILE"
|
|
fi
|