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