aboutsummaryrefslogtreecommitdiff
path: root/.config/lf/scope
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-07 22:28:48 +0300
committerawy <awy@tutamail.com>2024-08-07 22:28:48 +0300
commit635613fbcb4441415a61807097875f5ee6eddd1c (patch)
treefe7d884760ee6f151d6bc864b94dcdfdb73e66a8 /.config/lf/scope
parent686358f0521e3d264e463a0af6b38e5e19d17376 (diff)
small fixes
Diffstat (limited to '.config/lf/scope')
-rwxr-xr-x.config/lf/scope1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/lf/scope b/.config/lf/scope
index b00501a..a7d0bc1 100755
--- a/.config/lf/scope
+++ b/.config/lf/scope
@@ -14,6 +14,7 @@ case "$(file -Lb --mime-type "$file")" in
image/*)
draw "$file"
;;
+ audio/* | application/octet-stream) mediainfo "$1" || exit 1 ;;
video/*)
# vidthumb is from here:
# https://raw.githubusercontent.com/duganchen/kitty-pistol-previewer/main/vidthumb