mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +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 which geeqie >/dev/null 2>&1; then
|
||||
(geeqie "${MC_EXT_FILENAME}" &)
|
||||
else
|
||||
(gqview "${MC_EXT_FILENAME}" &)
|
||||
fi
|
||||
elif see >/dev/null 2>&1; then
|
||||
(see "${MC_EXT_FILENAME}" &)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user