#!/usr/bin/env bash set -euxo pipefail DATE=$(date '+%Y%m%d-%H:%M:%S') path="$HOME/Pictures/Screenshots/" filename="satty-$DATE.png" grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --actions-on-right-click=save-to-file --filename - --disable-notifications --corner-roundness 12 --output-filename "$path$filename" cd "$path" uwuload "$filename"