#!/usr/bin/env sh set -e SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") $SCRIPTPATH/take-selected-screenshot.sh \ | $SCRIPTPATH/upload-image.sh \ | wl-copy notify-send -u low "Upload complete"