blob: da3fc8504d993f2c5b13c73e002475d9321c9782 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
tmp=`mktemp --suffix ".png"`
grim -g "$(slurp -d)" "$tmp"
if [ "$?" == "0" ]
then
tesseract -l pol+eng $tmp - | wl-copy -n
notify-send "screentool" "Area transcribed!"
fi
rm $tmp
|