mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Merge branch '3962_geeqie'
* 3962_geeqie: Ticket #3962: support Geeqie image viewer.
This commit is contained in:
commit
9572fb0b78
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user