Skip to content

Instantly share code, notes, and snippets.

View QazCetelic's full-sized avatar
💭
Have you tried throwing more regex at the problem?

qaz QazCetelic

💭
Have you tried throwing more regex at the problem?
  • 🇪🇺
  • 06:07 (UTC +01:00)
View GitHub Profile
@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