diff options
Diffstat (limited to 'ocr')
| -rwxr-xr-x | ocr | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/bash +READ=$(scrot -s 'temp_%Y%m%d_%H%M%S.png' -e 'tesseract $f stdout -l jpn && rm $f') + +if [[ ! -z $READ ]]; then + echo $READ | xclip -selection clipboard +fi + |
