summaryrefslogtreecommitdiffstats
path: root/.config/lf/lfrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/lf/lfrc')
-rw-r--r--.config/lf/lfrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 563c155..b121f04 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -23,8 +23,9 @@ cmd open ${{
text/*|application/json|inode/x-empty) bat --style=plain --tabs 4 --paging=always -f $fx ;;
image/x-xcf) gimp $f >/dev/null 2>&1 ;;
image/svg+xml) display -- $f ;;
- image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" |
- nsxiv -aibof 2>/dev/null | while read -r file; do
+ image/*)
+ rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" |
+ imv 2>/dev/null | while read -r file; do
[ -z "$file" ] && continue
lf -remote "send select \"$file\""
lf -remote "send toggle"