diff --git a/README.md b/README.md index 04e3abf..b9a054e 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,10 @@ For example, you only need either `elinks`, `lynx` or | markdown | `mdcat` | | office | `libreoffice` | | pdf | `pdftoppm` | +| svg | `convert` | | text | `bat` `cat` `highlight` `source-highlight` | | torrent | `transmission-show` | -| video | `convert` `ffmpegthumbnailer` | +| video | `ffmpegthumbnailer` | diff --git a/doc/ctpv.1 b/doc/ctpv.1 index e3ef640..afc3365 100644 --- a/doc/ctpv.1 +++ b/doc/ctpv.1 @@ -108,6 +108,9 @@ T} pdf T{ pdftoppm T} +svg T{ +convert +T} text T{ bat cat highlight source\-highlight T} @@ -115,7 +118,7 @@ torrent T{ transmission\-show T} video T{ -convert ffmpegthumbnailer +ffmpegthumbnailer T} .TE .\" TABLEEND diff --git a/sh/prev/svg.sh b/sh/prev/svg.sh index 0f423e9..e455e55 100644 --- a/sh/prev/svg.sh +++ b/sh/prev/svg.sh @@ -1,7 +1,7 @@ -# video: convert +# svg: convert -video() { +svg() { convert "$f" "jpg:$cache_f" } -convert_and_show_image video +convert_and_show_image svg