#!/bin/sh [ $# -eq 0 ] && exit 1 STUFF_FILE=/usr/share/stuff/stuff.png FILE=/tmp/$(date "+%Y-%m-%d-%H-%M-%S").png convert -pointsize 55 -fill black -annotate +10+300 "$@" -colorspace RGB $STUFF_FILE $FILE ; xclip -selection clipboard -t image/png -i $FILE