3 ms·
In the spirit of sharing, cuz I think this is a great script (thank you), I prefer using maim over scrot simply because it has a --nodrag option. Personally fee
by grimgrin 3y ago
In the spirit of sharing, cuz I think this is a great script (thank you), I prefer using maim over scrot simply because it has a --nodrag option. Personally feels better when making selections from a trackpad. Click once, move cursor, click again.
maim -s --nodrag --quality=10 $IMG.png
10 is scrot's 100
- raphman 3y agoYet another variation I have been using for ages, using ImageMagick's `import` tool (which probably only works on X11) import "$tempfile" TEXT=`tesseract -l eng+deu "$tempfile" stdout` echo "$TEXT" | xsel -i -b