From 2886abc90c2f05292ec35196de8a9e6d4b678703 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 13 Dec 2019 08:33:02 +0530 Subject: [PATCH] Fix opening image with sxiv --- plugins/nuke | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nuke b/plugins/nuke index 2bab939a..7ba36b34 100755 --- a/plugins/nuke +++ b/plugins/nuke @@ -204,7 +204,7 @@ handle_multimedia() { ## Image image/*) if [ $GUI -ne 0 ] && which sxiv >/dev/null 2>&1; then - sxiv -q "$1" "$(dirname "${FPATH}")" & + sxiv -q "${FPATH}" & exit 0 elif which viu >/dev/null 2>&1; then viu -n "${FPATH}" | less -R