Merge branch '3962_geeqie'

* 3962_geeqie:
  Ticket #3962: support Geeqie image viewer.
This commit is contained in:
Andrew Borodin 2019-01-26 16:33:56 +03:00
commit 9572fb0b78

View File

@ -40,7 +40,11 @@ do_open_action() {
;; ;;
*) *)
if [ -n "$DISPLAY" ]; then if [ -n "$DISPLAY" ]; then
(gqview "${MC_EXT_FILENAME}" &) if which geeqie >/dev/null 2>&1; then
(geeqie "${MC_EXT_FILENAME}" &)
else
(gqview "${MC_EXT_FILENAME}" &)
fi
elif see >/dev/null 2>&1; then elif see >/dev/null 2>&1; then
(see "${MC_EXT_FILENAME}" &) (see "${MC_EXT_FILENAME}" &)
else else