NTKnow (<http://ntk.net/>) had a nice bit today about how to make use of
Brad Brace's cool, old school 12hr-ISBN-Jpeg Project
(<http://www.teleport.com/~bbrace/12hr.html>) to give yourself new wallpaper
in X every 12 hours.

Here's a modified version of that script that only uses free software:

--

#!/bin/bash
DEST=~/.12hr.jpeg
FTPSITE=ftp.rdrop.com
FILE=/pub/users/bbrace/12hr.jpeg
# alternative sites: 
# FTPSITE=ftp.pacifier.com  FILE=/pub/users/bbrace/12hr.jpeg
# FTPSITE=ftp.netcom.com  FILE=/pub/bb/bbrace/12hr.jpeg
# FTPSITE=ftp.teleport.com  FILE=/users/bbrace/12hr.jpeg
# FTPSITE=ftp.wco.com  FILE=/pub/users/bbrace/12hr.jpeg
echo "Downloading 12hr JPEG..."
ftp -n $FTPSITE <<EndFTP
user anonymous [EMAIL PROTECTED]
binary
get $FILE $DEST
EndFTP
echo " ...finished."

# Use ImageMagick to tint the picture blue
convert ~/.12hr.jpeg -colorize 0/0/100 ~/.12hrC.jpeg

display -window root ~/.12hrC.jpeg

--

To use it, schedule a cron job to run every 12 hours; here's what I put in
my personal crontab file:

1 0,12 * * * /home/m/bin/12hr

Reply via email to