dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 16c66e574fb067a908c3802e629beb0bbf2f4240
parent 8e1afed6444658c85d4a77e86071dbb0da839b61
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun,  8 Jul 2018 13:28:58 -0400

svg previews added

Diffstat:
M.config/ranger/scope.sh | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh @@ -49,12 +49,8 @@ safepipe() { "$@"; test $? = 0 -o $? = 141; } # Image previews, if enabled in ranger. if [ "$preview_images" = "True" ]; then case "$mimetype" in - # Image previews for SVG files, disabled by default. - ###image/svg+xml) - ### 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/svg+xml) + convert "$path" "$cached" && exit 6 || exit 1;; image/*) exit 7;; # Image preview for video, disabled by default.: