From ae1d656a270b4ca8e6b6f3f4e24a9d916759e15c Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 25 Feb 2020 21:37:52 +0530 Subject: Update help, check for mocp before using mocplay --- plugins/nuke | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3-70-g09d2