projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c68aeb
)
More compact scan.sh prompt
author
Sergey Matveev <stargrave@stargrave.org>
Fri, 10 Jul 2020 17:21:24 +0000 (20:21 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Fri, 10 Jul 2020 17:21:24 +0000 (20:21 +0300)
bin/bin/scan.sh
patch
|
blob
|
history
diff --git
a/bin/bin/scan.sh
b/bin/bin/scan.sh
index 0ae6fd4a8de71e0ed6e7e70c699af84755c3b867..a816d3478c1ed2da2a533e4be65b1cde7db4d2c7 100755
(executable)
--- a/
bin/bin/scan.sh
+++ b/
bin/bin/scan.sh
@@
-35,7
+35,7
@@
preview() {
do_next() {
rotate=180
- [ -z "$NEGATIVE" ] && crop=
4
0 || crop=10
+ [ -z "$NEGATIVE" ] && crop=
2
0 || 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)