Your Geektool Scripts (Part 1) thread: https://forums.macrumors.com/threads/628023/
GeekTool Information
http://projects.tynsoe.org/en/geektool/
Download GeekTool
http://projects.tynsoe.org/en/geektool/download.php
Basic GeekTool Scripts
(All using the 'Shell' selection)
Post your GeekTool scripts/desktops!
GeekTool Information
http://projects.tynsoe.org/en/geektool/
Download GeekTool
http://projects.tynsoe.org/en/geektool/download.php
Basic GeekTool Scripts
(All using the 'Shell' selection)
Code:
Date: date +%d
Month: date +%B
Day: date +%A
Time: date +"%I:%M"
Alternatives:
Without the '0' infront of the hours 1-9, use: date +%l:%M
24 hour clock, with seconds: date '+%H:%M:%S'
24 hour clock, without seconds: date '+%H:%M'
AM/PM: date +"%p"
Font: Helvetica Neue (Regular, Bold, Light)
Code:
Weather (need Lynx) [Shell]:
Temperature: lynx -dump http://printer.wunderground.com/cgi-...OURZIPCODE|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }'
Conditions: lynx -dump http://printer.wunderground.com/cgi-...OURZIPCODE|awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }'
Code:
iTunes [Shell]: osascript ~/LocationOfScript.scpt
Using Script Editor:
Code:
on run
set info to ""
set info2 to ""
tell application "System Events"
set num to count (every process whose name is "iTunes")
end tell
if num > 0 then
tell application "iTunes"
if player state is playing then
set who to artist of current track
set what to name of current track
set info to what & " by " & who as string
end if
end tell
end if
return info
end run
Post your GeekTool scripts/desktops!