Handles arbitrary number of hands and/or mark specifications.
((now - tz - phase) % cycle) / cycle
where `now' is the current time of day (obtained with time(3) ), tz is a correction factor for the timezone as found in the tm_gmtoff field of the structure returned by localtime(3) ), phase is the value of the phase resource for the hand, and cycle is the value of the cycle resource for the hand. The result is a number from 0 to 1, which is mapped into an angular position, with 0 being straight up, .25 being straight right, .5 being straight down, etc.
The simplest way to determine the desired phase value for a hand is to experiment. It is usually obvious that the value should be a multiple of something like 3600; try various multiples until you get the desired hand position.
swisswatch
swisswatch -name swissclock
swisswatch -name oclock
*customization: -color
This will cause swisswatch to pick up the colors in the app-defaults color
customization file: /usr/lib/X11/app-defaults/SwissWatch-color.