diff options
| author | navewindre <boneyaard@gmail.com> | 2024-11-15 10:13:19 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2024-11-15 10:13:19 +0100 |
| commit | 3e5011cc5eb8331206bd15977c3c5b7cb37fb28f (patch) | |
| tree | 7d26ca5707a413a96f58c4d26bfbf845e273c27f /ocr | |
| parent | 089488fca436b7df44b33784cdb0343b01fc67ff (diff) | |
asdf
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 + |
