#!/bin/sh FILENAME="$HOME/Pictures/screenshots/$(date +'%b%d::%H%M%S').png" scrot -s "$FILENAME" && xclip -selection clipboard -target image/png -i < "$FILENAME"