From 031698ddaa8d7f8224358932b8e69e7f22d43963 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 22 Jan 2023 21:49:20 +0100 Subject: Tesseract --- .scripts/tscrot | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .scripts/tscrot (limited to '.scripts/tscrot') diff --git a/.scripts/tscrot b/.scripts/tscrot new file mode 100755 index 0000000..f9ff595 --- /dev/null +++ b/.scripts/tscrot @@ -0,0 +1,6 @@ +#!/bin/bash + +lang=$(echo -e "eng\ndeu" | dmenu) + +killall -9 flameshot +flameshot gui --raw | tesseract -l "$lang" stdin stdout | xclip -in -selection clipboard -- cgit v1.2.3