commit f0efe3e4ef8b0ce14cd9bd456a6b3d1b4e1c3f6d parent 0de10d2765b05099d607229c2aff2cf5eb1a3ba9 Author: clamiax <smoppy@gmail.com> Date: Sat, 17 Oct 2015 17:42:40 +0200 Remove mimeopen(1). It now only outputs the selected items. Note: it's easy to replicate the old behaviour like this: mimeopen "" Diffstat:
M | README.md | | | 8 | +++++++- |
M | browse | | | 2 | +- |
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md @@ -118,4 +118,10 @@ Sane Android Development. browse ------ -Little dmenu-based file browser which uses MIME to open files. +Little dmenu-based file browser which output selected file. + +Sample usage: + +``` +$ mimeopen "$(/path/of/browse)" +``` diff --git a/browse b/browse @@ -19,7 +19,7 @@ while true; do if [ -e "$newt" ]; then target="$newt" if [ ! -d "$target" ]; then - mimeopen "$target" + echo "$target" exit 0 fi fi