mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
make sxiv automatically play animations (#731)
This commit is contained in:
parent
1fc1b8be8b
commit
1912cee957
|
@ -55,7 +55,7 @@ elif which sxiv >/dev/null 2>&1; then
|
||||||
if [ -f "$1" ]; then
|
if [ -f "$1" ]; then
|
||||||
view_dir sxiv "$1" >/dev/null 2>&1 &
|
view_dir sxiv "$1" >/dev/null 2>&1 &
|
||||||
elif [ -d "$1" ] || [ -h "$1" ]; then
|
elif [ -d "$1" ] || [ -h "$1" ]; then
|
||||||
sxiv -qt "$1" >/dev/null 2>&1 &
|
sxiv -aqt "$1" >/dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
elif which viu >/dev/null 2>&1; then
|
elif which viu >/dev/null 2>&1; then
|
||||||
viu -n "$1" | less -R
|
viu -n "$1" | less -R
|
||||||
|
|
Loading…
Reference in a new issue