about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorLeo Vivier <zaephon@gmail.com>2019-01-19 21:19:40 +0100
committerLeo Vivier <zaephon@gmail.com>2019-01-19 21:19:40 +0100
commit25106224e53a778dadfda84a6dedcd60b70abfc0 (patch)
treecfaafc650aba2743ea03203758985d4fa55677dd
parentdaa030e81e8b5a0bd88b11c2f6318f67942168cd (diff)
downloadranger-25106224e53a778dadfda84a6dedcd60b70abfc0.tar.gz
Add left padding to preview
-rwxr-xr-xranger/data/scope.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index c56159bf..cde9a525 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -135,10 +135,10 @@ handle_image() {
             fontimage -o "${preview_png}" \
                       --pixelsize "100" \
                       --fontname \
-                      --text "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
-                      --text "abcdefghijklmnopqrstuvwxyz" \
-                      --text "0123456789.:,;(*!?') ff fl fi ffi ffl" \
-                      --text "The quick brown fox jumps over the lazy dog." \
+                      --text "  ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
+                      --text "  abcdefghijklmnopqrstuvwxyz" \
+                      --text "  0123456789.:,;(*!?') ff fl fi ffi ffl" \
+                      --text "  The quick brown fox jumps over the lazy dog." \
                       "${FILE_PATH}"
             if [[ "$?" > 0 ]] ; then
                 exit 1