Added epub, cbz, and cbr support to lf (#655)

* Added `epub` support to the `lfrc`

* Update lfrc
This commit is contained in:
Luke Bubar 2020-05-28 07:10:48 -04:00 committed by GitHub
parent 1260ba7da4
commit ce94f3ee8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,9 @@ cmd open ${{
audio/*) mpv --audio-display=no $f ;; audio/*) mpv --audio-display=no $f ;;
video/*) setsid mpv $f -quiet >/dev/null 2>&1 & ;; video/*) setsid mpv $f -quiet >/dev/null 2>&1 & ;;
application/pdf) setsid zathura $fx >/dev/null 2>&1 & ;; application/pdf) setsid zathura $fx >/dev/null 2>&1 & ;;
application/epub+zip) setsid zathura $fx >/dev/null 2>&1 & ;;
application/vnd.comicbook+zip) setsid zathura $fx >/dev/null 2>&1 & ;;
application/vnd.comicbook-rar) setsid zathura $fx >/dev/null 2>&1 & ;;
*) for f in $fx; do setsid $OPENER $f >/dev/null 2>&1 & done;; *) for f in $fx; do setsid $OPENER $f >/dev/null 2>&1 & done;;
esac esac
}} }}