PDA

View Full Version : [Geektool] If Statements


itsme932
Nov 25, 2012, 10:06 PM
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!

007bond
Nov 28, 2012, 11:47 PM
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.