Back to photostream

Lightbulb Desktop

I know this is different from the desktops that I have created in the past but I wanted to create something a little bit easier to read and something that had a lot more information on it. All text on desktop is created with Geektool and the taksbar is changed due to the Magnifique theme Kaer B3. The iTunes Coverart and information is created with CoverSutra. Finally, the weather and battery information is created by Yahoo Widgets. Look below and all links will be posted along with all of the Geektool Script. I hope you enjoy! If you have any questions feel free to ask and I will answer them as soon as I can.

 

Wallpaper (Light Leaks)

damnengine.deviantart.com/art/Light-leaks-1600x1200-32743019

 

Geektool

projects.tynsoe.org/en/geektool/

 

Magnifique

magnifiqueapp.com/

 

Yahoo Widgets

widgets.yahoo.com/

 

Weather Widget

widgets.yahoo.com/widgets/widescapeweather

 

Battery Widget

widgets.yahoo.com/widgets/wdscp-battery

 

CoverSutra

www.sophiestication.com/coversutra/

 

 

Geektool Scripts

 

Time

date "+%l:%M %p"

 

Date Number

date +%d

 

Month

date +%B

 

Weekday

date +%A

 

To Do List

Create a text file with TextEdit but make sure you click Format>Make Plain Text before save. Then select the file in path in GeekTool.

 

Calendar

Created this calendar with two text files (Remember to make Plain Text)

 

Uptime

uptime | awk '{print "" $3 " " $4 " " $5 }' | sed -e 's/.$//g';

 

Uptime Text

df -h | grep disk0s2 | awk '{print "UPTIME:" }'

 

RAM

top -l 1 | awk '/PhysMem/ {print "" $8 " "}' ;

 

RAM Text

df -h | grep disk0s2 | awk '{print "RAM:" }'

 

CPU

top -l 2 | awk '/CPU usage/ && NR > 5 {print $12, $13}'

 

CPU Text

df -h | grep disk0s2 | awk '{print "CPU:" }'

 

Harddrive

df -h | grep disk0s2 | awk '{print $4 }'

 

Harddrive Text

df -h | grep disk0s2 | awk '{print "HD:" }'

 

Trash

du -sh ~/.Trash/ | awk '{print $1}'

 

Top Processes

top -FR -l2 -o cpu | grep -v 0.0% | cut -c 7-24| sed -n '15, $p '

 

MacRumors (Text)

df -h | grep disk0s2 | awk '{print "MacRumors" }'

 

RSS Icon

i61.photobucket.com/albums/h52/TheAEBeachbum/feed-icon-28...

 

MacRumors

curl www.macrumors.com/macrumors.xml | grep 'title' | sed '1!G;h;$!d' | sed -e 's///g' | sed -e 's///g' | sed -e 's/"/"/g'

 

Stocks (Text)

df -h | grep disk0s2 | awk '{print "Stocks:" }'

 

Nasdeq

curl www.google.ca/finance?q=INDEXNASDAQ:.IXIC | sed -n '/MARKET DATA AND CHART/,/Open:/p' | sed -e :a -e 's/]*>//g;/</N;//ba' | sed '1,9d' | sed '$!N;s/\n/ /'| sed '$!N;s/\n/ /' | sed 's/^/NDQ: /g' | sed '2,9d' | sed 's/).*/)/g'

 

S&P 500

curl www.google.ca/finance?q=INDEXSP:.INX | sed -n '/MARKET DATA AND CHART/,/Open:/p' | sed -e :a -e 's/]*>//g;/</N;//ba' | sed '1,9d' | sed '$!N;s/\n/ /'| sed '$!N;s/\n/ /' | sed 's/^/S+P: /g' | sed '2,9d' | sed 's/).*/)/g'

 

DOW

curl www.google.ca/finance?q=INDEXDJX:.DJI| sed -n '/MARKET DATA AND CHART/,/Open:/p' | sed -e :a -e 's/]*>//g;/</N;//ba' | sed '1,9d' | sed '$!N;s/\n/ /'| sed '$!N;s/\n/ /' | sed 's/^/DOW: /g' | sed '2,9d' | sed 's/).*/)/g'

 

Mail

Create an apple script with Script Editor using this code and save as mailcheck

 

 

 

set newline to ASCII character 10

 

set finalText to ""

 

tell application "Mail"

set theMessages to (messages of inbox whose read status is false)

repeat with i from 1 to number of items in theMessages

set thisMessage to item i of theMessages

 

set fromMsg to (sender of thisMessage as string)

set subjMsg to (subject of thisMessage as string)

set finalText to finalText & "- " & word 1 of fromMsg & " " & word 2 of fromMsg & newline & " " & subjMsg & newline

 

end repeat

end tell

finalText

 

 

Then in Geektool Shell Command Type

osascript /path/to/mailcheck.scpt

(put your actual path to where the mailcheck.scpt is)

 

 

Adium Unread Messages

Download: www.box.net/shared/pz59kxjajh

Then into Geektool Type

 

osascript /Users/Adium.scpt (instead of Users put location of Adium.scpt)

 

 

Horizontal Divider

i61.photobucket.com/albums/h52/TheAEBeachbum/divider.png

 

Vertical Divider

i61.photobucket.com/albums/h52/TheAEBeachbum/divider-1.png

 

 

Please leave any questions you might have and I'll gladly answer.

 

Enjoy!!!

46,318 views
43 faves
18 comments
Uploaded on April 7, 2009
Taken on April 7, 2009