Skip to content

Instantly share code, notes, and snippets.

@QazCetelic
QazCetelic / screen_text_copy
Created April 24, 2023 15:43
Script to copy text from screen bitmap.
#!/bin/sh
# Written by u/QazCetelic licensed under GPL3
if ! which spectacle > /dev/null; then
kdialog --sorry "spectacle, the required screenshotting tool, is not installed."
exit 1
fi
if ! which tesseract > /dev/null; then