feat: write screenshot + ocr scripts

This commit is contained in:
2021-03-03 19:44:01 -06:00
parent dc111c4a44
commit 34ba3e8987
3 changed files with 38 additions and 0 deletions

7
.local/bin/screenshot-gui Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/sh
# Take screenshot w/ selection tools, save to ~/Pictures/Screenshots, and also
# write the image to a temp file (so we can put the image in the clipboard also)
if flameshot gui -r --path ~/Pictures/Screenshots > /tmp/flameshot_screenshot.png; then
xclip -selection clipboard -t image/png < /tmp/flameshot_screenshot.png;
fi