From 1f556c6d24de4643f7925d2dfb2313813b27b7b1 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Thu, 8 Sep 2022 12:02:04 +0200 Subject: [PATCH] added upload-last-steam-screenshot.sh --- .local/share/scripts/upload-last-steam-screenshot.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 .local/share/scripts/upload-last-steam-screenshot.sh 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" +