aboutsummaryrefslogtreecommitdiff
path: root/.scripts/tscrot
blob: f9ff595c4cbef00c5600e3182fec7a6193cca330 (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 | xclip -in -selection clipboard