Friday, October 18, 2013

HTC Style Clock Geeklet

This Geeklet isn_t new, it was a while around on the Web, but its the most readable and nice looking one i ever tried out, so the Result first:



So this Geeklet simulates the HTC One Android Lockscreen Widget on your Desktop showing you the Tima and Date

Difficulty: easy


So first you need the Code Background Image, everything else will be placed on top of it:


Save thsi PNG to your Desktop, open Geektool and drag an Image Geeklet onto Desktop, than link this Geeklet with the Image to get started.

The Time:

The Time is made with 2 Script Geeklets, one for the Hours and one for the Minutes, best Font may be something like Verdana or Tahoma


The Hours Script:


date +%H

The Minutes Script:

date +%M

Thats bascially all you need. dont forget to setup the Font Soue for this Widget and move the both Script Geeklets onto the Background and place them onto the white rects seen in the Screenshot above, plz set the Color to Vlack if they arent black by default

The Date

 The Date can be added with one or two Geeklets, its your choice how you want to arrange them, but you will need an additional Script Geekelt with the following Code:

This one puts the Weekday as a String / Word:
date +%A


This one places a day of Month Number
date +%d


You can either combine them both into one or do 2 Script Geeklets to split the Values apart as in the Screenshot above

Once done, tweak Color, Font and Sizes to your Needs and you are done

No comments:

Post a Comment