From 88bcaeb8b87ec78953c0633a5519dfd2e50af8aa Mon Sep 17 00:00:00 2001 From: krolyxon Date: Mon, 13 Feb 2023 20:48:06 +0530 Subject: add support for avif in lf --- .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 cd45156..d88c77e 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -18,7 +18,7 @@ cmd open ${{ text/*|application/json|inode/x-empty) $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 nsxiv -aio 2>/dev/null | while read -r file; do [ -z "$file" ] && continue lf -remote "send select \"$file\"" -- cgit v1.2.3