Merge pull request #1239 from tonijarjour/patch-1

n/sxiv play gifs automatically from tabbed
This commit is contained in:
Arun 2021-11-15 19:06:54 +05:30 committed by GitHub
commit f3df0816d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,9 +155,9 @@ previewer_loop () {
;;
image/*)
if type sxiv >/dev/null 2>&1 ; then
sxiv -e "$XID" "$FILE" &
sxiv -ae "$XID" "$FILE" &
elif type nsxiv >/dev/null 2>&1 ; then
nsxiv -e "$XID" "$FILE" &
nsxiv -ae "$XID" "$FILE" &
else
term_nuke "$XID" "$FILE"
fi