add cleanup
This commit is contained in:
parent
8221e5a533
commit
ee294166fd
1 changed files with 1 additions and 0 deletions
|
@ -14,3 +14,4 @@ TESS_LANG='fra+eng+osd'
|
|||
file='/tmp/img_'`head --bytes=20 /dev/urandom | md5sum | head --bytes=20`'.png'
|
||||
/sbin/spectacle --region --background --nonotify --output "$file"
|
||||
/sbin/tesseract "$file" - -l "$TESS_LANG" | /sbin/xclip -in -selection clipboard
|
||||
rm "$file"
|
||||
|
|
Loading…
Reference in a new issue