From ab39adc2f35c979d655a6a06a2debe832863fd1d Mon Sep 17 00:00:00 2001 From: Hydroxycarbamide Date: Sat, 1 Mar 2025 17:17:53 +0100 Subject: [PATCH] Add tesseract screenshot --- dot_local/bin/executable_tesseract-shot.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 dot_local/bin/executable_tesseract-shot.sh diff --git a/dot_local/bin/executable_tesseract-shot.sh b/dot_local/bin/executable_tesseract-shot.sh new file mode 100644 index 0000000..3f40081 --- /dev/null +++ b/dot_local/bin/executable_tesseract-shot.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +grim -g "$(slurp)" /tmp/grim.png && tesseract -l eng+jpn /tmp/grim.png - | wl-copy && wl-paste | xargs -I{} notify-send "Tesseract" "Copied '{}'"