6 lines
259 B
Plaintext
6 lines
259 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
OUTPUT_FILENAME="/home/a/shots/$(date '+%Y-%m-%d_%H:%M:%S').png"
|
||
|
scrot --freeze -F $OUTPUT_FILENAME -s
|
||
|
curl https://put.gay -H "authorization: $PASTE_TOKEN" --silent -F "file=@$OUTPUT_FILENAME;headers=\"bucket: shot\"" | xclip -selection clipboard
|