5 lines
256 B
Bash
Executable file
5 lines
256 B
Bash
Executable file
#!/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
|