Hacker News new | past | comments | ask | show | jobs | submit login

I also used the very same script until I stumbled upon this on hn [0].

    #!/usr/bin/env bash
    langs=(eng ara fas chi_sim chi_tra deu ell fin heb hun jpn kor nld rus tur)
    lang=$(printf '%s\n' "${langs[@]}" | dmenu "$@")
    maim -us | tesseract --dpi 145 -l eng+${lang} - - | xsel -bi

[0]: https://news.ycombinator.com/item?id=33704483#33705272



Ah just saw rjzzleep posted an updated version here. Happy to steal this one again :)


Looks nice




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

Search: