summaryrefslogtreecommitdiffstats
path: root/.config/lf/lfrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-10-02 11:53:16 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-10-02 11:53:16 -0400
commita3a630a3e839a730d26a137f35cce2065bbbb16f (patch)
tree31750c8bc18a16b740c3d3a41d259de226aea004 /.config/lf/lfrc
parent60e61287543dfbbff58bd1ef79d627cf3ca5113d (diff)
downloadeibhear-a3a630a3e839a730d26a137f35cce2065bbbb16f.tar.gz
eibhear-a3a630a3e839a730d26a137f35cce2065bbbb16f.tar.zst
eibhear-a3a630a3e839a730d26a137f35cce2065bbbb16f.zip
avoid the lf/sxiv resize bug by not swallowing
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 ebf6d30..4101338 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -19,7 +19,7 @@ cmd open ${{
text/*) $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\)*$" | sxiv -aio 2>/dev/null | lf-select ;;
+ image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" | setsid -f sxiv -aio 2>/dev/null | lf-select & ;;
audio/*) mpv --audio-display=no $f ;;
video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
application/pdf|application/vnd*|application/epub*) setsid -f zathura $fx >/dev/null 2>&1 ;;