diff --git a/stuff.png b/stuff.png index 1d01997..69ae208 100644 Binary files a/stuff.png and b/stuff.png differ diff --git a/stuff.sh b/stuff.sh index 3e0dd00..9332117 100755 --- a/stuff.sh +++ b/stuff.sh @@ -2,4 +2,10 @@ [ $# -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 +LABEL_FILE=$FILE.label.png +text=$@ + +convert -background white -fill black -pointsize 80 label:"$text" $LABEL_FILE +convert -gravity center $LABEL_FILE $STUFF_FILE +append $FILE +xclip -selection clipboard -t image/png -i $FILE +