aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/nuke2
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