aboutsummaryrefslogtreecommitdiff
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-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