summaryrefslogtreecommitdiff
path: root/.local/bin/preview
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/preview')
-rwxr-xr-x.local/bin/preview2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/preview b/.local/bin/preview
index f15e884..235f0e0 100755
--- a/.local/bin/preview
+++ b/.local/bin/preview
@@ -47,7 +47,7 @@ case "$1" in
*html) w3m -dump "$1" ;;
text/markdown) glow "$1" ;;
application/json) highlight --syntax=json --replace-tabs=2 -- "$1" ;;
- text/*) highlight --force -- "$1" ;;
+ text/*|*javascript) highlight --force -- "$1" ;;
audio/*|video/*|image/*) mediainfo -- "$1" ;;
*xz) xz --list "$1" ;;
*zip|*tar*|*7z*|*bzip2) atool --list -- "$1" ;;