~thecashewtrader/scripts

2cef9bbac8cbeae3341996a34155512971979971 — thecashewtrader 1 year, 6 months ago 2c6ff44
Add digitise_clipboard.sh
2 files changed, 9 insertions(+), 0 deletions(-)

A digitise_clipboard/digitise_clipboard.sh
M symlinks/symlinks.sh
A digitise_clipboard/digitise_clipboard.sh => digitise_clipboard/digitise_clipboard.sh +8 -0
@@ 0,0 1,8 @@
#!/usr/bin/env sh

cd /tmp
id="$(uuidgen)"

xclip -sel c -t image/png -o > "$id.png"
tesseract "$id.png" "$id"
xclip -sel c -i "$id.txt"
\ No newline at end of file

M symlinks/symlinks.sh => symlinks/symlinks.sh +1 -0
@@ 31,3 31,4 @@ ln -s ~/.scripts/emacs_org_ql/emacs_org_ql.sh ~/.local/bin/emacs_org_ql
ln -s ~/.scripts/uwuify_clipboard/uwuify_clipboard.sh ~/.local/bin/uwuify_clipboard
ln -s ~/.scripts/zathura_clipboard/zathura_clipboard.sh ~/.local/bin/zathura_clipboard
ln -s ~/.scripts/cscat/cscat.sh ~/.local/bin/cscat
ln -s ~/.scripts/digitise_clipboard/digitise_clipboard.sh ~/.local/bin/digitise_clipboard