From 03018e36b84ebf5e0292263209507fd11e4a5b1b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 30 Jan 2025 12:22:46 +0100 Subject: feat(modules/lf/commands/view_file): Also use `$READER` for epub files --- modules/by-name/lf/lf/commands/scripts/view_file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/by-name') diff --git a/modules/by-name/lf/lf/commands/scripts/view_file.sh b/modules/by-name/lf/lf/commands/scripts/view_file.sh index 6258d755..f75c4868 100755 --- a/modules/by-name/lf/lf/commands/scripts/view_file.sh +++ b/modules/by-name/lf/lf/commands/scripts/view_file.sh @@ -12,7 +12,7 @@ fs="$fs" mime_type="$(file --mime-type --brief --dereference "$f")" case "$mime_type" in -application/pdf) +application/pdf | application/epub*) "$READER" "$f" ;; image/*) -- cgit 1.4.1