#!/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"