From e3cc8a4da26ddd7833537362f945ad9b36919224 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Mon, 21 Jan 2019 16:50:04 +0000
Subject: [PATCH] support geeqie image viewer
Support geeqie (a fork of GQview) as image viewer
Signed-off-by: Andreas Mohr <and@gmx.li>
---
misc/ext.d/image.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/misc/ext.d/image.sh b/misc/ext.d/image.sh
index 8afbad6c0..583c09ecf 100755
a
|
b
|
do_open_action() { |
40 | 40 | ;; |
41 | 41 | *) |
42 | 42 | if [ -n "$DISPLAY" ]; then |
43 | | (gqview "${MC_EXT_FILENAME}" &) |
| 43 | if which geeqie >/dev/null 2>&1; then |
| 44 | (geeqie "${MC_EXT_FILENAME}" &) |
| 45 | else |
| 46 | (gqview "${MC_EXT_FILENAME}" &) |
| 47 | fi |
44 | 48 | elif see >/dev/null 2>&1; then |
45 | 49 | (see "${MC_EXT_FILENAME}" &) |
46 | 50 | else |