bin/scr (view raw)
1#!/usr/bin/env bash 2 3n=6; output=$(tr -cd '[:alnum:]' < /dev/urandom | head -c$n) 4import -window root ~/pics/scrots/$output.png 5notify-send 'screenshot taken!' 6xclip -selection clipboard -t image/png -i ~/pics/scrots/$output.png