Files
DCGOS/dotfiles/.config/waybar/scripts/Screenshot-OCR.sh
2025-07-22 12:18:15 +08:00

5 lines
151 B
Bash
Vendored

#!/usr/bin/env bash
## only support EN
grim -g "$(slurp)" - | tesseract -l "eng" stdin stdout | wl-copy;notify-send "OCR content copied to clipboard"