n/sxiv play gifs automatically from tabbed

This commit is contained in:
Toni Jarjour 2021-11-14 20:56:32 -05:00 committed by GitHub
parent f66183937d
commit 8755a3c0cf
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