aboutsummaryrefslogtreecommitdiff
path: root/.scripts/tscrot
blob: fe89c9aec1803ceb4e9069485f8a04c8470b3d16 (plain) (blame)
1
2
3
4
5
6
#!/bin/bash

lang=$(echo -e "eng\ndeu" | dmenu)

killall -9 flameshot
flameshot gui --raw | tesseract -l "$lang" stdin stdout | clip