From a3a630a3e839a730d26a137f35cce2065bbbb16f Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 2 Oct 2021 11:53:16 -0400 Subject: [PATCH] avoid the lf/sxiv resize bug by not swallowing --- .config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;;