This commit is contained in:
Mariano Z. 2025-04-21 12:07:24 -03:00
commit b4cdb80b5c
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
137 changed files with 6383 additions and 0 deletions

7
bin/.bin/screenshot-upload Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
file=/tmp/$(date "+%Y%m%d-%H%M%S")_screenshot.png
grim -g "$(slurp)" "$file" &&
satty --filename "$file" --fullscreen &&
yad --title="Upload?" --text="Upload image?" --image="dialog-question" --default-cancel &&
curl -F "file=@$file" https://drop.mz.uy | xargs xdg-open