make sxiv automatically play animations (#731)

This commit is contained in:
Toni Jarjour 2020-09-14 13:01:32 -04:00 committed by GitHub
parent 1fc1b8be8b
commit 1912cee957
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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