mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
Fix opening image with sxiv
This commit is contained in:
parent
2f6a4dd8ee
commit
2886abc90c
|
@ -204,7 +204,7 @@ handle_multimedia() {
|
||||||
## Image
|
## Image
|
||||||
image/*)
|
image/*)
|
||||||
if [ $GUI -ne 0 ] && which sxiv >/dev/null 2>&1; then
|
if [ $GUI -ne 0 ] && which sxiv >/dev/null 2>&1; then
|
||||||
sxiv -q "$1" "$(dirname "${FPATH}")" &
|
sxiv -q "${FPATH}" &
|
||||||
exit 0
|
exit 0
|
||||||
elif which viu >/dev/null 2>&1; then
|
elif which viu >/dev/null 2>&1; then
|
||||||
viu -n "${FPATH}" | less -R
|
viu -n "${FPATH}" | less -R
|
||||||
|
|
Loading…
Reference in a new issue