From 8ae60b3b0d0edf7639b1538cf8490c81f8c6d86e Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 20 Oct 2025 19:56:11 +0530 Subject: [PATCH] lf: add heic extension for nsxiv --- .config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 62a818d..7642b42 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -18,7 +18,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\|avif\|tif\|ico\)\(_large\)*$" | + image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\|heic\)\(_large\)*$" | setsid -f nsxiv -aio 2>/dev/null | while read -r file; do [ -z "$file" ] && continue lf -remote "send select \"$file\""