Table of Contents

Name

swisswatch - the mother of all X Toolkit clocks

Synopsis

swisswatch [-option ...]

Description

Swisswatch is an analog clock for X that is highly customizable by means of resources.

Synopsis

Handles minute-hand display correctly when ticking more often than once a minute.

Handles arbitrary number of hands and/or mark specifications.

Options

-fg foreground color
choose a different color for the hands and marks.
-bg background color
choose a different color for the background.
-tick time
the interval between updates of the display. This should be a positive floating-point number. -geometry geometry define the initial window geometry; see X(1) .
-display display
specify the display to use; see X(1) .
-noshape
causes the clock to not reshape itself and ancestors to exactly fit the outline of the clock.
-railroad
-sbb
-cff
-ffs
causes the second and minute hands to behave differently at the turn of the minute. This mode tries to mimick the Look and Feel of the swiss federal railway clocks.

Resources

Example Resources

The distributed application defaults files define three different looks for swisswatch. Try them out by calling it as

swisswatch

swisswatch -name swissclock

swisswatch -name oclock

Colors

If you would like your clock to be viewable in color, include the following in the #ifdef COLOR section you read with xrdb:

*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.

See Also

X(1) , X Toolkit documentation

Copyright

Copyright 1989, Massachusetts Institute of Technology.
See X(1) for a full statement of rights and permissions.

Author

Simon Leinen, Ecole Polytechnique Federale de Lausanne

Credits

Der Mouse <mouse@larry.McRCIM.McGill.EDU> wrote the mclock program that already featured most of the functionality: smooth movement of the minute hand and excessive configurability. I basically reimplemented mclock as a Toolkit application. This manpage also contains slightly adapted text from mclock.doc.


Table of Contents