Sunteți pe pagina 1din 8

1

How To GeekTool
By Raydee331319
Scripts
urag Lhe Shell" Al onLo Lhe deskLop Lo geL sLarLed.
2
Lets Get Started
Scripts
LnLer Lhese scrlpLs ln Lhe Command" box ln Lhe properues wlndow.
Output Script
Time: HH:MM date +"%l:%M"
Month date +%B
Day of the Month: ## date +%d
AM/PM date +"%p"
Internet Info (IP Info) #! /bin/bash
RAM In Use: ####M top -l 1 | awk '/PhysMem/ {print "" $8 "
"}' ;
Gigabytes Free In Hard Drive:
###Gi/###Gi free (##% used)
df -hl | grep 'disk0s2' | awk '{print
$4"/"$2" free ("$5" used)"}'
3
The Properties Box
4
uL Lhe scrlpL for Lhe
ouLpuL you wanL ln Lhe
Command" box.
uependlng on Lhe
scrlpL, you wlll wanL Lo
modlfy Lhe refresh
raLe, ln Lhe 8efresh
every" box. lor
example, for Lhe ume
scrlpL, you wanL Lhe
ume Lo refresh every
60 seconds, or maybe
every 30 seconds, [usL
cause.
lor Lhe day of Lhe
monLh, you would puL
every 24 hours, or
86400 seconds. lL wlll
refresh when you
modlfy Lhe refresh
raLe, so lf you do lL aL
any oLher ume oLher
Lhan mldnlghL, lL wlll
change Lhe day of Lhe
monLh aL Lhe ume you
enLer Lhe refresh raLe.
(Llke lL'll change from
21
sL
Lo 22
nd
aL 3pm Lhe
nexL day lf you enLer
Lhe refresh raLe aL
3pm, and everyday
aer LhaL as well.
?ou don'L need Lo
worry abouL Lhe
1lmeouL box.
?ou should name each
shell, whlch ls each box ls
called for Lhe scrlpLs. lL
makes lL easler Lo Lell
whaL each shell does,
lnsLead of Lrylng Lo
undersLand from Lhe
code.
You can also change
the font and colour of
what each shell is to
whatever you Mac has.
Any font, any colour.
You can also set
transparency to the
entire shell, either for
effect or to make it
easier to see. The only
potential problem with
this is that it makes a
rectangle with sharp
corners rather than
rounded corners, which
doesnt look great to
artistically inclined
minds like yours and
mine.
Override Text
5
lor Lhlngs llke words
Lhemselves, such as:
-8auery:
-8am used
-2012 (l don'L
know Lhe scrlpL for
Lhe year, buL lL
doesn'L mauer
cause you'd only
have Lo change lL
once a year)
All you have Lo do ln
Lhe roperues for a
shell ls go down Lo
Cverrlde 1exL", check
lL, and Lype ln
whaLever you wanL.
Shell Api
When you drag a Shell" Al onLo your deskLop:
?ou geL Lhls:
6
1he x" ln Lhe Lop rlghL wlll close Lhe Shell, and Lhe uragger ln Lhe
bouom-rlghL wlll ad[usL Lhe slze of Lhe shell. lf you Lry Lo use a blg slze
fonL and your shell ls small, noLhlng wlll show unul you lncrease Lhe slze
of Lhe shell.
Image Api
When you drag an lmage" Al onLo your deskLop:
7
You get the same box as the shell, but the properties box will
be a little different.
Now, you can browse your Mac and choose a picture that your
can place anywhere on your desktop. You can use this just to
put a picture you like to see always, or to create awesome
perspective effects, as seen on the next page.
It gives you the option of using a URL, which, you know
something about HTML, can somehow be used to display a
different/random image every so often. I dont know how to do
this yet.
For now, use the Set Local Path... option and select a picture
on your computer.
You can also choose a folder with a couple of pictures in it,
rather than a specic picture, and check off Pick random
image in directory and set the Refresh every to however
often you want the image to change.
And, of course, you can modify the transparency with the
Opacity slider.
Example:
(1he sand ln Lhe foreground was separaLed ln hoLoshop, as a .png Lo
preserve Lransparency, and puL ln an lmage shell, and puL ln fronL of
Lhese ume shells.)
8

S-ar putea să vă placă și