]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Less crop threshold
authorSergey Matveev <stargrave@stargrave.org>
Fri, 10 Jul 2020 15:39:41 +0000 (18:39 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 10 Jul 2020 15:39:41 +0000 (18:39 +0300)
bin/bin/scan.sh

index 57dbe80377d6d0ebeb88fe7b2faf334c6888b2af..0ae6fd4a8de71e0ed6e7e70c699af84755c3b867 100755 (executable)
@@ -35,7 +35,7 @@ preview() {
 
 do_next() {
     rotate=180
-    [ -z "$NEGATIVE" ] && crop=50 || crop=10
+    [ -z "$NEGATIVE" ] && crop=40 || crop=10
     ctr=$(( $ctr + 1 ))
     cur=`printf "%03d.ppm" $ctr`
 }