random-scripts/copy-screen-text.sh

3 lines
98 B
Bash
Executable File

#!/usr/bin/env zsh
maim -k -s -f png | tesseract stdin stdout -l eng | xclip -selection clipboard