wmtime1
Window maker dockapp that displays the time and date
Usage
wmtime [OPTION]
Overview
WMTime displays the time and date and gives you some nice additional features too. It is intended for docking in Window Maker.
It currently provides:
•
|
the time and date; |
|---|---|
•
|
a realtime morphing interface (analog <> digital mode); |
•
|
auto-scaled and anti-aliased hands; |
•
|
localization, displaying the day and date in various languages; |
•
|
three user-defined commands to launch. |
Options
-
-d, -digital -
Display the digital clock on startup, instead of the analog clock.
|
This option specifies the X server to contact; see X(7x). |
|---|---|
|
This option specifies the preferred position of clock; see X(7x). |
-
-n, -noseconds -
Disables the second hand.
-llocale-
Specify locale.
-
-h -
Show help information.
-
-v -
Print the version number.
-
-c -
Set color.
Usage
The WMTime window is separated into top and bottom sections. The top section contains a clock and the bottom section contains the date.
The clock can be toggled between analog and digital modes. To do this, click in the bottom section of the window.
WMTime can also be used to launch programs. You may click either left, middle, or right mouse buttons in the top section of the window. The pre-configured program will be launched according to the mouse button clicked. (see CONFIGURATION FILE below.)
In order to move WMTime, drag on the outer edges. These are not sensitive to mouse clicks.
Docking in window managers
- Window Maker
-
Window Maker users should drag and drop the
WMTimewindow on the Dock. Then, right-click on the border of the window and select “Settings...”. Check “Start when Window Maker is started”.
- AfterStep
-
AfterStep users should put the following in their $HOME/.steprc
Wharf wmtime - MaxSwallow "wmtime" wmtime &
- Other window managers
-
WMTimeruns nicely as a 64x64 shaped icon on your desktop.
Configuration file
WMTime can launch three user-defined commands, triggered by left, middle and right mouse button clicks. You can define the commands to launch in $HOME/.wmtimerc
left: xterm
middle: xload
right: xcalc
If WMTime detects a $HOME/.wmtimerc file, it will launch the appropriate command when you click on the clock.
The system administrator can define default commands in /etc/wmtimerc. The administrator may also choose to “fix” particular commands, making it impossible for users to change. These commands can be defined in /etc/wmtimerc.fixed, although this isn't a nice thing to do.
Files
/etc/wmtimerc
$HOME/.wmtimerc
/etc/wmtimerc.fixed
Releases
12 releases since Debian 3.0 (Woody); the text changed 3 times.
-c since Debian 9 (Stretch);
-d since Debian 3.1 (Sarge);
-digital since Debian 3.1 (Sarge);
-h since Debian 3.1 (Sarge);
-n since Debian 3.1 (Sarge);
-noseconds since Debian 3.1 (Sarge);
-v since Debian 3.1 (Sarge).