i am stuff
This commit is contained in:
commit
b8569e767b
3 changed files with 13 additions and 0 deletions
8
Makefile
Normal file
8
Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
install: stuff.sh stuff.png
|
||||||
|
mkdir /usr/share/stuff
|
||||||
|
cp stuff.png /usr/share/stuff/
|
||||||
|
cp stuff.sh /usr/bin/stuff
|
||||||
|
chmod +x /usr/bin/stuff
|
||||||
|
clean:
|
||||||
|
rm -r /usr/share/stuff
|
||||||
|
rm /usr/bin/stuff
|
BIN
stuff.png
Normal file
BIN
stuff.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 214 KiB |
5
stuff.sh
Executable file
5
stuff.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/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
|
Loading…
Reference in a new issue