dotfiles-remastered/.local/share/scripts/share-screenshot.sh

14 lines
213 B
Bash
Executable File

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