diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-25 21:37:52 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-25 21:37:52 +0530 |
commit | ae1d656a270b4ca8e6b6f3f4e24a9d916759e15c (patch) | |
tree | 6a226a02c5ae00f4004ff4943f358ec1d1e877c4 /plugins | |
parent | a780ab1c80e121e38facef3d23bef12c4c7d7cf6 (diff) | |
download | nnn-ae1d656a270b4ca8e6b6f3f4e24a9d916759e15c.tar.gz |
Update help, check for mocp before using mocplay
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/nuke | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/nuke b/plugins/nuke index 604777b..7e9c6ce 100755 --- a/plugins/nuke +++ b/plugins/nuke @@ -99,7 +99,7 @@ handle_pdf() { } handle_audio() { - if which mocplay >/dev/null 2>&1; then + if which mocp >/dev/null 2>&1 && which mocplay >/dev/null 2>&1; then mocplay "${FPATH}" "opener" >/dev/null 2>&1 exit 0 elif which mpv >/dev/null 2>&1; then |