added upload-last-steam-screenshot.sh

This commit is contained in:
Djeeberjr 2022-09-08 12:02:04 +02:00
parent ac612a40b5
commit 1f556c6d24

View File

@ -0,0 +1,12 @@
#!/usr/bin/env sh
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
$SCRIPTPATH/last-steam-screenshot.sh \
| head -n1 \
| $SCRIPTPATH/share-s3.sh \
| xclip -i -selection "clipboard"
notify-send -u low "Upload complete"