forked from encrypt/toot
15 lines
215 B
Bash
15 lines
215 B
Bash
#!/bin/sh
|
|
|
|
# WTFPL!
|
|
|
|
tmpfile="/tmp/buongiorno"
|
|
pic=$(immaginibuongiorno)
|
|
|
|
if [ "$pic" = "" ]
|
|
then
|
|
echo "notfound"
|
|
pic=$(immaginibuongiorno --random)
|
|
fi
|
|
wget -O $tmpfile "$pic"
|
|
toot -i="$tmpfile"
|
|
rm $tmpfile
|