aboutsummaryrefslogtreecommitdiff
path: root/.config/lf
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-10-20 19:56:11 +0530
committerkrolxon <krolyxon@tutanota.com>2025-10-20 19:56:11 +0530
commit8ae60b3b0d0edf7639b1538cf8490c81f8c6d86e (patch)
treeba7f5cb7eeb0a0d065bac70343dbd782386d8364 /.config/lf
parent9d543f98b182cfa04577dca7b31746eb5fdc5596 (diff)
lf: add heic extension for nsxiv
Diffstat (limited to '.config/lf')
-rw-r--r--.config/lf/lfrc2
1 files changed, 1 insertions, 1 deletions
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\""