diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/lf/lfrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 2d40977..7c83345 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -18,7 +18,7 @@ cmd open ${{ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;; application/vnd.openxmlformats-officedocument.wordprocessingml.document) docx2txt $f | $PAGER ;; image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid zathura $fx >/dev/null 2>&1 ;; - text/html) firefox $fx ;; + text/html) $BROWSER $fx ;; text/plain) $PAGER $fx ;; text/*|application/json|inode/x-empty) bat --style=plain --tabs 4 --paging=always -f $fx ;; image/x-xcf) setsid gimp $f >/dev/null 2>&1 ;; @@ -30,7 +30,7 @@ cmd open ${{ lf -remote "send toggle" done & ;; - audio/*) setsid alacritty -e mpv --no-audio-display --audio-channels=stereo $fx & ;; + audio/*) setsid $TERM -e mpv --no-audio-display --audio-channels=stereo $fx & ;; video/*) setsid mpv --really-quiet --audio-channels=stereo $fx >/dev/null 2>&1 & ;; *opendocument*) odt2txt $f | $PAGER ;; application/pdf|application/vnd*|application/epub*) setsid zathura $fx >/dev/null 2>&1 ;; |