From 88748a48006af4e8ec5185336cfeea3aa8f64f63 Mon Sep 17 00:00:00 2001 From: PrivateLalle <29478339+LalleSX@users.noreply.github.com> Date: Tue, 7 Feb 2023 14:51:00 +0100 Subject: Add support for avif in lf (#1262) Co-authored-by: Victor Risgaard --- .config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/lf/lfrc') diff --git a/.config/lf/lfrc b/.config/lf/lfrc index c0c4766..6017255 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -34,7 +34,7 @@ cmd open ${{ text/*|application/json|inode/x-empty|application/x-subrip) $EDITOR $fx;; image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;; image/svg+xml) display -- $f ;; - image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" | + image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\)\(_large\)*$" | setsid -f sxiv -aio 2>/dev/null | while read -r file; do [ -z "$file" ] && continue lf -remote "send select \"$file\"" -- cgit v1.3.1