From 51aaa580bb965f805bfb139428171b9b1eaa8593 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 24 Jun 2023 15:45:02 -0500 Subject: Use mpv preview for audio files --- lf/lfrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lf') diff --git a/lf/lfrc b/lf/lfrc index df622de..70b1b5b 100644 --- a/lf/lfrc +++ b/lf/lfrc @@ -13,6 +13,9 @@ cmd open ${{ jnlp) javaws "$f" ;; + mp3|flac|webm|ogg) + mpv "$f" + ;; *) case $(file --mime-type "$f" -bL) in text/*|application/json) $EDITOR "$f" ;; -- cgit v1.2.3