Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

itsme932

macrumors newbie
Original poster
Aug 22, 2010
11
0
Hey guys-

I'm trying to set up an if statement in the Geektool shell command, but it won't work.

Basically, if the days value is greater than 1, I want to display it one way, and if it is less than 1 I want to display it another way.

Tips?

EDIT: I figured it out. Thanks guys!
 
Last edited:

007bond

macrumors 6502a
Dec 12, 2008
560
1
DFW, Texas
Hey guys-

I'm trying to set up an if statement in the Geektool shell command, but it won't work.

Basically, if the days value is greater than 1, I want to display it one way, and if it is less than 1 I want to display it another way.

Tips?

EDIT: I figured it out. Thanks guys!

Mind posting how? I'm actually playing around with geektool at the moment and it could be helpful.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.