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
1 changed files with 2 additions and 2 deletions

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