svg previews added
This commit is contained in:
parent
8e1afed644
commit
16c66e574f
1 changed files with 2 additions and 6 deletions
|
@ -49,12 +49,8 @@ safepipe() { "$@"; test $? = 0 -o $? = 141; }
|
||||||
# Image previews, if enabled in ranger.
|
# Image previews, if enabled in ranger.
|
||||||
if [ "$preview_images" = "True" ]; then
|
if [ "$preview_images" = "True" ]; then
|
||||||
case "$mimetype" in
|
case "$mimetype" in
|
||||||
# Image previews for SVG files, disabled by default.
|
image/svg+xml)
|
||||||
###image/svg+xml)
|
convert "$path" "$cached" && exit 6 || exit 1;;
|
||||||
### convert "$path" "$cached" && exit 6 || exit 1;;
|
|
||||||
# Image previews for image files. w3mimgdisplay will be called for all
|
|
||||||
# image files (unless overriden as above), but might fail for
|
|
||||||
# unsupported types.
|
|
||||||
image/*)
|
image/*)
|
||||||
exit 7;;
|
exit 7;;
|
||||||
# Image preview for video, disabled by default.:
|
# Image preview for video, disabled by default.:
|
||||||
|
|
Loading…
Reference in a new issue