aboutsummaryrefslogtreecommitdiff
path: root/.scripts/tscrot
diff options
context:
space:
mode:
authorMarvin Borner2023-01-22 21:49:20 +0100
committerMarvin Borner2023-01-22 21:53:40 +0100
commit031698ddaa8d7f8224358932b8e69e7f22d43963 (patch)
tree5f130bce2bf5275bd4fefca2d0bf73b5b43891ed /.scripts/tscrot
parent533effc75477c518e87311b5927183d51aec5b71 (diff)
Tesseract
Diffstat (limited to '.scripts/tscrot')
-rwxr-xr-x.scripts/tscrot6
1 files changed, 6 insertions, 0 deletions
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