diff --git a/.local/share/scripts/upload-last-steam-screenshot.sh b/.local/share/scripts/upload-last-steam-screenshot.sh new file mode 100755 index 0000000..ad42be3 --- /dev/null +++ b/.local/share/scripts/upload-last-steam-screenshot.sh @@ -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" +