X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;ds=sidebyside;f=bin%2Fbin%2Fscan.sh;h=a816d3478c1ed2da2a533e4be65b1cde7db4d2c7;hb=2729c2e563e30fff3337b79f7211506dc4087681;hp=0ae6fd4a8de71e0ed6e7e70c699af84755c3b867;hpb=5c68aeb2bf368d8dafa1be0af423830580010b25;p=dotfiles.git diff --git a/bin/bin/scan.sh b/bin/bin/scan.sh index 0ae6fd4..a816d34 100755 --- a/bin/bin/scan.sh +++ b/bin/bin/scan.sh @@ -35,7 +35,7 @@ preview() { do_next() { rotate=180 - [ -z "$NEGATIVE" ] && crop=40 || crop=10 + [ -z "$NEGATIVE" ] && crop=20 || crop=10 ctr=$(( $ctr + 1 )) cur=`printf "%03d.ppm" $ctr` } @@ -43,7 +43,7 @@ do_next() { do_next while : ; do - echo "$cur: (v)iew r(otate) c(rop) (s)can (p)review (n)ext" + echo -n "$cur: (v)iew r(otate) c(rop) (s)can (p)review (n)ext > " read c case $c in v)