I am a NOOB so its not very clean. It is a patch job from many scripts found here.
Date:
cal | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./*/g') /"
Network Info: (For this I used 3 different scripts)
(For the left side)
echo External :; echo Internal :; echo Wireless :; echo "SSID :";
(ipaddresses)
echo `curl -s http://checkip.dyndns.org/ | sed 's/[a-zA-Z<>/ :]//g'`;/Users/USERNAME/bin/ipaddress;
(for SSID)
airport -I | grep -e '[^[:alnum:]_]SSID[^[:alnum:]_]' | awk '{print $2}'
Drives: ( I know each of my primary network drives I am connecting to)
df -h | grep Filesystem | awk '{print "Drive " , $4," " $6}'
df -h | grep disk0s2 | awk '{print "Mac HD:", " "$4, " " $6}'
df -h | grep Source | awk '{print "Source:", " "$4, " " $6}'
df -h | grep MyData| awk '{print "MyData:", " "$4, " " $6}'
df -h | grep Movies| awk '{print "Movies:", " "$4, " " $6}'
df -h | grep DVD| awk '{print "DVD:", " "$4, " " $6}'
df -h | grep disk1s* | awk '{print $1" ", $4," " $6}'; df -h | grep disk2s* | awk '{print $1" ", $4," " $6}'; df -h | grep disk3s* | awk '{print $1" ", $4," " $6}'; df -h | grep disk4s* | awk '{print $1" ", $4," " $6}'; df -h | grep disk5s* | awk '{print $1" ", $4," " $6}'
iTunes
echo iTunes:
osascript ~/GeekTool/iTunes.scpt
Weather:
echo Your City
curl --silent "http://xml.weather.yahoo.com/forecastrss?p=YOURZIPCODE&u=f" | grep -e "Current Conditions" -A 1 | tail -n 1 | sed -e 's/<BR \/>//' && echo && curl --silent "http://xml.weather.yahoo.com/forecastrss?p=YOURZIPCODE&u=f" | grep -e "Forecast:" -A 2 | tail -n 2 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/\(.*\)\.\ \(.*\)/\1\?\2/" | tr "?" "\n" | sed "s/High\:\ \(.*\)\ Low\:\ \(.*\)/\?H\: \1\ L\:\ \2/" | sed "s/\?\(.*\)/\\1/"
Alot of this is pretty ugly. I am a noob to this so I just manipulated what i found mostly in this thread.
Background: (Came from the Bikini Atoll Nuclear Test: 1946 Operation Crossroads on Wikipedia)
http://upload.wikimedia.org/wikipedia/commons/0/09/Operation_Crossroads_Baker_Edit.jpg
As for the Border. I am using GeekTool 3 and I just dragged a blank shell on the desktop and adjusted the height and width. Then I choose a background color of black and set it to 50% opacity. It had to be the first shell dragged on to the desktop though since each script represents a different layer. In Geektool 3 I can't figure out how to move each one up or down in the list like ver 2.
incredible picture! is it real?
(for SSID)
airport -I | grep -e '[^[:alnum:]_]SSID[^[:alnum:]_]' | awk '{print $2}'
also, would anyone know how to get an hour-by-hour weather update? from a website like this?
hey thanks for all your help so far.
i can't seem to get the SSID script to work on geektool 3.0 (i'm also running SL). nothing shows up for either the SSID or "wireless" labels.
also, would anyone know how to get an hour-by-hour weather update? from a website like this?
For the SSID to show
Open a Terminal session and copy in the following
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
So no IP address shows under wireless? Does it say INACTIVE? Also do you have the ipaddress program contained in the zip file in the appropriate place?
I created a folder in my home dir called GeekTool where I keep my scripts. /Users/YOURNAME/GeekTool then make sure that in the command the portion says echo `curl -s http://checkip.dyndns.org/ | sed 's/[a-zA-Z<>/ :]//g'`;/Users/YOURNAME/GeekTool/ipaddress;
replace YOURNAME with your account name
i take my weather informations by yahoo weather web page, then i take the image link rapresentative of current weather and download it to /tmp/weather.png then i use gerktool to load the downloaded image.
all the scripts are available on this table and the result is the same i posted here some days ago.
yahoo weather uses The Weather Channel's forecasts then I yhik they are hourly updated and they have images. try the way I told you before.what do you suggest doing? is it possible to have an hour-by-hour forecast?
i take my weather informations by yahoo weather web page, then i take the image link rapresentative of current weather and download it to /tmp/weather.png then i use gerktool to load the downloaded image.
all the scripts are available on this table and the result is the same i posted here some days ago.
How would I go about doing that exactly?
all the scripts are available on this table
Since I upgraded to Snow Leopard a couple of issues with geektool 2.
My script that provides me my wireless connection network doesn't work. It just displays the echo command "network:" but not the name of the connection.
Finally Geektool 2 will not show in the menu bar, I have to go to system preferences and double click on the geektool icon where the dialog then states that it has to close and open system preferences to display geektool.
Just some observations.
Do you have to re-create all the shell commands when you upgrade or does everything stay the same?I was having to many issues with Snow Leopard and GeekTool 2 so I upgraded to GeekTool 3 RC and it now shows i the menubar and solved many issues I was having!
quoting myself...
I know, I did do the weather part. But all I end up with is a blank box on my desktop. I don't get how to how to take the image link and download it to /tmp/weather.png
curl --silent "http://xml.weather.yahoo.com/forecastrss?p=YOURZIP&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'
curl --silent "http://weather.yahoo.com/forecast/YOURCITYCODE.html" | grep "forecast-icon" | sed "s/.*background\:url(\'\(.*\)\')\;\ _background.*/\1/" | xargs curl --silent -o /tmp/weather.png
file:///tmp/weather.png
Am I the only one having this problem?Geektool seems to be freezing a lot on me lately.