This commit is contained in:
Nikita Ivanov 2022-10-10 12:17:06 +05:00
parent 230f6254c5
commit d40333273a
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133
3 changed files with 9 additions and 5 deletions

View File

@ -63,9 +63,10 @@ For example, you only need either `elinks`, `lynx` or
| markdown | `mdcat` | | markdown | `mdcat` |
| office | `libreoffice` | | office | `libreoffice` |
| pdf | `pdftoppm` | | pdf | `pdftoppm` |
| svg | `convert` |
| text | `bat` `cat` `highlight` `source-highlight` | | text | `bat` `cat` `highlight` `source-highlight` |
| torrent | `transmission-show` | | torrent | `transmission-show` |
| video | `convert` `ffmpegthumbnailer` | | video | `ffmpegthumbnailer` |
<!--TABLEEND--> <!--TABLEEND-->

View File

@ -108,6 +108,9 @@ T}
pdf T{ pdf T{
pdftoppm pdftoppm
T} T}
svg T{
convert
T}
text T{ text T{
bat cat highlight source\-highlight bat cat highlight source\-highlight
T} T}
@ -115,7 +118,7 @@ torrent T{
transmission\-show transmission\-show
T} T}
video T{ video T{
convert ffmpegthumbnailer ffmpegthumbnailer
T} T}
.TE .TE
.\" TABLEEND .\" TABLEEND

View File

@ -1,7 +1,7 @@
# video: convert # svg: convert
video() { svg() {
convert "$f" "jpg:$cache_f" convert "$f" "jpg:$cache_f"
} }
convert_and_show_image video convert_and_show_image svg