dotfiles-remastered/.local/share/scripts/upload-last-steam-screenshot.sh

13 lines
235 B
Bash
Executable File

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