]> Sergey Matveev's repositories - nnn.git/commitdiff
n/sxiv play gifs automatically from tabbed
authorToni Jarjour <39845673+tonijarjour@users.noreply.github.com>
Mon, 15 Nov 2021 01:56:32 +0000 (20:56 -0500)
committerGitHub <noreply@github.com>
Mon, 15 Nov 2021 01:56:32 +0000 (20:56 -0500)
plugins/preview-tabbed

index d94e1280b544bf61cf353d8824a5e21286306473..49c0bc9782cc1ddcf2e8b2b6dd217e97c86bd310 100755 (executable)
@@ -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