summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lf/lfrc3
1 files changed, 3 insertions, 0 deletions
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" ;;