From fc1309dd32e668b1aa9e7b0d9f5675dc29dddc90 Mon Sep 17 00:00:00 2001 From: krolxon Date: Sat, 18 Nov 2023 22:55:29 +0530 Subject: [PATCH] add jpeg-xl to lfrc --- .config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 0e50191..c9e617a 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -19,7 +19,7 @@ cmd open ${{ text/*|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\|jxl\|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\""