.TH asclock 1x "23 July 1996" .UC .SH NAME \fBasclock\fP \- the AfterStep clock .SH SYNOPSIS .B asclock [ -help] [-12 | -24] [-shape] [-position \fI[+|-]x[+|-]y\fP] [-exe \fIprogram\fP] [-theme \fIdir\fP] [-led \fIcolor\fP] [-noblink] [-dock] [-version] .SH DESCRIPTION The \fBasclock\fP is a clock written to emulate the date/time application on the NEXTSTEP(tm) operating system. \fBasclock\fP supports multiple languages, military and AM/PM time formats, program execution, and the shape extension to X-Windows. .SH CONFIGURATION OPTIONS .IP "-help" .RS prints the usage message: .nf usage: asclock [-options ...] where options include: -12 12 hour format -24 24 hour format -exe program to start on click -led color of the led -position [+|-]x[+|-]y position of asclock -shape without groundplate -theme theme directory -noblink don't blink -dock without window decorations -version show version information .fi .RE .IP "-12 or -24" .RS sets the desired time format to either twelve hour with AM/PM ( -12 ) or military time ( -24 ). If no option is given military time is used. .RE .IP "-shape" .RS turn on shaped window support for \fBasclock\fP. When this is turned on the \fBasclock\fP windows will only appear to be the led and date pad. By default shaped windows are turned off and the clock will appear on a 64 pixel by 64 pixel base. .RE .IP "-led " .RS specifies the color of the led. To find out what colors are available, try \fIshowrgb\fP(1) (part of X11). .RE .IP "-position [+|-]x[+|-]y " .RS specifies the starting position of \fBasclock\fP. The [+|-] works like the standard X-Windows x/y geometry option. .RE .IP "-exe " .RS specifies the application to start when the pointer is activated over \fBasclock\fP. To invoke applications with parameters, you have to set quotes around the command. See example below... .RE .IP "-noblink" .RS specifies if \fBasclock\fP should blink. .RE .IP "-theme " .RS specifies the theme to used. A theme consists of a directory containing 8 xpms and a position file called 'config'. Read the \fIThemes\fP section. .RE .IP "-dock" .RS tells the window manager not to put window decorations around \fBasclock\fP, useful for docking with \fIWindow Maker\fP. Note that in several window managers this causes \fBasclock\fP to ignore the position specified with -position (if present). .RE .SH INVOCATION \fBasclock\fP can be called from one of many ways. The most common invocation is the command line: .nf [user@host] ~% asclock -12 -exe 'xlock -mode hop' & .fi Another way to call \fBasclock\fP is from the window manager: .nf *Wharf - - MaxSwallow "asclock" asclock -theme shape -12& .fi This line, when placed in the \fI.steprc\fP file in the users home directory will cause \fBasclock\fP to use the shape extensions so that it will be a button on the \fBWharf (1)\fP button bar under the \fBafterstep (1)\fP window manager. .SH THEMES A theme consists of a directory containing 8 xpms and a position file called 'config'. All tiles within the same xpm must have the same width or height, except the colon which has half the width of the other digits. The pixmaps are called: \fIclock.xpm\fP, \fIdate.xpm\fP, \fIled.xpm\fP, \fImonth.xpm\fP, \fIweekday.xpm\fP, \fIhour.xpm\fP, \fIminute.xpm\fP, \fIsecond.xpm\fP. For a full description of the format, take a look at \fIREADME.THEMES\fP. .SH BUGS we don't have bugs :) .SH COPYRIGHTS Copyright 1996, Beat Christen . No guarantees or warranties or anything are provided or implied in any way whatsoever. Use this program at your own risk. Permission to use this program for any purpose is given, as long as the copyright is kept intact. .SH AUTHORS Beat Christen -- application .sp Dan Weeks -- man page