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 d83069e..702fc2d 100644
--- a/lf/lfrc
+++ b/lf/lfrc
@@ -15,6 +15,9 @@ cmd open ${{
jnlp)
javaws "$f"
;;
+ mp3|flac|webm|ogg)
+ mpv "$f"
+ ;;
*)
case $(file --mime-type "$f" -bL) in
text/*|application/json) $EDITOR "$f" ;;