5

Feeling Green

Posted in Productivity by svenah 178 days ago

First post here, please pardon my lengthy explanations.

Geeklet import isn't working for me (running the GeekTool app instead of prefpane on Lion). Since I can't verify the exported geeklets are working, so instead I'm giving all the details on how mines are created rather simply uploading the ones exported.

The horizontal calendar was inspired by DateLineCalendar, but the code is completely my own.

I apologize that the weather graphic isn't so good. Will probably update it later.

Geeklet settings:

  • header & footer: empty shell, black background, 15% opacity, 86400s refresh rate
  • day of month: date "+%d" 'Hoefler Text', Regular, 144pt
  • month name: date "+%b" 'Helvetica Neue', Regular, 36pt
  • day of week: date "+%A" 'Lucida Handwriting', Italic, 24pt
  • battery gauge: battery.sh 600x60, 120s refresh rate, Courier, Regular, 48pt
  • weather info: weatherf.sh "New York, NY" 'Helvetica Neue', Light, 24pt, 1800s refresh rate, 50% opacity
  • weather icon: file:///tmp/weathergeekicon.gif, 40x40, 1800s refresh rate, 70% opacity
  • calendar: battery.sh 'Menlo', Regular, 13pt, center aligned

Notes:

  • fiftyfootshadows has some amazing photos (including this one for this post) for use as wallpaper for desktops, iPhones and iPads.
  • "day of month", "month name", "day of week" and "calendar" all have white for font color, 50% for opacity and 60s for refresh rate.
  • battery gauge only shows up when the charger is unplugged and probably useless for desktops.
  • create the weather info geeklet first, it'll download the icon at the pre-determined location for the weather icon geeklet.
  • weather script takes 1 parameter for the location. it can be zip code or double-quoted location name, e.g. "Tokyo, Japan", "Las Vegas". it uses Google Weather.
  • get weatherc.sh if you prefer temperature in Celcius or weatherf.sh for Fahrenheit. update the command used in weather info geeklet accordingly.
  • calendar script can take 1 parameter as the highlight color of current date. if no parameter is given, default highlight is cyan.

Color code for calendar script:

  1. 30 - black
  2. 31 - red
  3. 32 - green
  4. 33 - yellow
  5. 34 - blue
  6. 35 - magenta
  7. 36 - cyan
  8. 37 - white

Download:


Geeklet files to download

Comments

Log in to comment or register here.