diff options
author | Joe <rbo@gmx.us> | 2024-07-23 13:55:28 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-07-23 13:55:28 +0200 |
commit | e057cfcb947973e43be1c9712a9b5902774a2fe7 (patch) | |
tree | 3b5651a9d2b2cb5d2b1be9f637d305a895bd53c8 /.config | |
parent | up (diff) | |
download | dotfiles-bsd-e057cfcb947973e43be1c9712a9b5902774a2fe7.tar.gz dotfiles-bsd-e057cfcb947973e43be1c9712a9b5902774a2fe7.tar.bz2 dotfiles-bsd-e057cfcb947973e43be1c9712a9b5902774a2fe7.tar.xz dotfiles-bsd-e057cfcb947973e43be1c9712a9b5902774a2fe7.tar.zst dotfiles-bsd-e057cfcb947973e43be1c9712a9b5902774a2fe7.zip |
up
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 ;; |