diff options
| author | navewindre <boneyaard@gmail.com> | 2025-07-13 01:45:05 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-07-13 01:45:05 +0200 |
| commit | d49e4b0a25c7cc75ade210c7092eea8feb75e692 (patch) | |
| tree | 2a38c3846dee25d0d83c820de6bade62f54db90f /bin/ocr | |
| parent | 1fe841b80b6284737661870c87abbc26ecba4109 (diff) | |
restructure
Diffstat (limited to 'bin/ocr')
| -rwxr-xr-x | bin/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 + |
