Quote Originally Posted by Petro Dawg View Post
I decided to stea... incorporate some of your code into my Conky.

Your weather warning output was a bit too wide for my Conky so I stuck it in a scroll function to fit it in my Messages section, also added a second county to display...

Code:
#####  Weather Alert Display
#
${execpi 300 wget -q --output-document="/tmp/wraw.txt" http://alerts.weather.gov/cap/wwaatmget.php?x=OKC131&y=1}\
${execpi 300 cat /tmp/wraw.txt | grep "<title>" | sed -n 2,4p | sed -e 's/^[[:space:]]*//' | sed -e 's/\///' | sed -e 's/<title>//g' | sed -e 's/ until/\nuntil/' | sed "s/\([a-zA-Z]\)\s*$/\1/" > /tmp/walerts.txt}\
${execpi 300 wget -q --output-document="/tmp/wraw.txt" http://alerts.weather.gov/cap/wwaatmget.php?x=OKC143&y=1}\
${execpi 300 cat /tmp/wraw.txt | grep "<title>" | sed -n 2,4p | sed -e 's/^[[:space:]]*//' | sed -e 's/\///' | sed -e 's/<title>//g' | sed -e 's/ until/\nuntil/' | sed "s/\([a-zA-Z]\)\s*$/\1/" > /tmp/walerts2.txt}\
${scroll 32 8 Rogers County - ${execpi 300 cat /tmp/walerts.txt}  •  Tulsa County - ${execpi 300 cat /tmp/walerts2.txt}}


Thanks for the idea.
Cool, and I also changed the zone info to county info instead on the warnings/watches/advisories. In addition, trying to stick as close to the stock Archbang look as I can.