Woot Notifier
public text v1 · immutable#!/bin/bash
previous=$(wget http://www.woot.com/Blog/Feed.ashx -O- 2> /dev/null | md5sum | cut -b-32)
while [ 1 ]; do
checksum=$(wget http://www.woot.com/Blog/Feed.ashx -O- 2> /dev/null | md5sum | cut -b-32)
if [ "x$checksum" != "x$previous" ]; then
echo "New woot item!"
zenity --info --text="New woot item\!"
previous=$checksum
fi
sleep 30
done