Added epub, cbz, and cbr support to lf (#655)
* Added `epub` support to the `lfrc` * Update lfrc
This commit is contained in:
parent
1260ba7da4
commit
ce94f3ee8e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue