summaryrefslogtreecommitdiffstats
path: root/.config/lf/lfrc
diff options
context:
space:
mode:
authorPrivateLalle <29478339+LalleSX@users.noreply.github.com>2023-02-07 14:51:00 +0100
committerGitHub <noreply@github.com>2023-02-07 13:51:00 +0000
commit88748a48006af4e8ec5185336cfeea3aa8f64f63 (patch)
treeb1f8f74110431d4e174cad22ff35db255071cfec /.config/lf/lfrc
parent6d75bbdf8c3adea29468328425798d2fa2ab4928 (diff)
downloadeibhear-88748a48006af4e8ec5185336cfeea3aa8f64f63.tar.gz
eibhear-88748a48006af4e8ec5185336cfeea3aa8f64f63.tar.zst
eibhear-88748a48006af4e8ec5185336cfeea3aa8f64f63.zip
Add support for avif in lf (#1262)
Co-authored-by: Victor Risgaard <victor@risgaard.xyz>
Diffstat (limited to '.config/lf/lfrc')
-rw-r--r--.config/lf/lfrc2
1 files changed, 1 insertions, 1 deletions
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\""