Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Nice, that is great! I adapted this to work for me on wayland (sway):

grim -g "$(slurp)" - | tesseract --dpi 145 -l eng+${lang} - - | wl-copy

Using grim to take a screenshot, slurp to mark a region on your screen and wl-copy to copy to clipboard.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: