- new sentence, new line.

- use .Pp instead of just a newline
- no empty lines between sections.

ok jmc@ matthieu@
This commit is contained in:
jasper 2007-05-10 21:28:23 +00:00
parent 9d51a8cf84
commit 22329fd6f6

90
cwm.1
View File

@ -15,18 +15,18 @@
.Op Fl f Ar fontname .Op Fl f Ar fontname
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a window manager for X11. It was originally inspired by evilwm, is a window manager for X11.
but was rewritten from scratch due to limitations in the evilwm It was originally inspired by evilwm, but was rewritten from scratch
codebase. The from-scratch rewrite borrowed some code from 9wm. due to limitations in the evilwm codebase.
The from-scratch rewrite borrowed some code from 9wm.
.Nm .Nm
contains many new features which all concentrate on the efficiency and contains many new features which all concentrate on the efficiency and
transparency of window management. transparency of window management.
.Nm .Nm
also aims to maintain the most simplest and pleasant aesthetic. also aims to maintain the most simplest and pleasant aesthetic.
.Sh BASIC OPERATION .Sh BASIC OPERATION
We will adopt the following notation: We will adopt the following notation:
.Pp
.Bl -tag -width 10n -offset -indent -compact .Bl -tag -width 10n -offset -indent -compact
.It Fa C .It Fa C
Control Control
@ -41,12 +41,13 @@ Middle mouse button
.It Fa M3 .It Fa M3
Right mouse button Right mouse button
.El .El
.Pp
.Nm .Nm
is very simple in its use. Most of the actions are initiated via is very simple in its use.
keybindings. The current keybindings are described below, their Most of the actions are initiated via keybindings.
functionality is described in more detail later. The current keybindings are described below, their functionality
is described in more detail later.
.Pp
.Bl -tag -width 10n -offset -indent -compact .Bl -tag -width 10n -offset -indent -compact
.It Fa C-M-Enter .It Fa C-M-Enter
Spawn a new terminal. Spawn a new terminal.
@ -85,22 +86,22 @@ Toggle vertical maximization of window.
.It Fa M-? .It Fa M-?
Spawn \&"Exec program\&" dialog. Spawn \&"Exec program\&" dialog.
.El .El
.Pp
The mouse bindings are also important, they are: The mouse bindings are also important, they are:
.Pp
.Bl -tag -width 10n -offset -indent -compact .Bl -tag -width 10n -offset -indent -compact
.It Fa M-M1 .It Fa M-M1
Move a window. Move a window.
.It Fa C-M-M1 .It Fa C-M-M1
Toggle a window's membership in the current group. A blue highlight Toggle a window's membership in the current group.
indicates the window has been added to the group, a red highlight A blue highlight indicates the window has been added to the group,
indicates it has been removed. a red highlight indicates it has been removed.
.It Fa M-M2 .It Fa M-M2
Resize a window/Select a window. Resize a window/Select a window.
.It Fa M-M3 .It Fa M-M3
Lower a window. Lower a window.
.El .El
.Pp
The options for The options for
.Nm .Nm
are as follows: are as follows:
@ -119,28 +120,27 @@ font string
.Ar fontname .Ar fontname
the default font. the default font.
.El .El
.Sh SEARCH .Sh SEARCH
.Nm .Nm
features the ability to search for windows by their current title, old features the ability to search for windows by their current title, old
titles and by their label. The priority for the search results are: titles and by their label.
Label, current title, old titles in reverse order and finally window The priority for the search results are: Label, current title, old
class name. titles in reverse order and finally window class name.
.Nm .Nm
keeps a history of the 5 previous titles of a window. keeps a history of the 5 previous titles of a window.
.Pp
When searching, the leftmost character of the result list may show a When searching, the leftmost character of the result list may show a
flag: flag:
.Pp
.Bl -tag -width 10n -offset -indent -compact .Bl -tag -width 10n -offset -indent -compact
.It Fa ! .It Fa !
The window is the currently focused window. The window is the currently focused window.
.It Fa & .It Fa &
The window is hidden. The window is hidden.
.El .El
.Pp
The following keybindings may be used to navigate the result list: The following keybindings may be used to navigate the result list:
.Pp
.Bl -tag -width 10n -offset -indent -compact .Bl -tag -width 10n -offset -indent -compact
.It [Down] or C-s .It [Down] or C-s
Select the next window in the list. Select the next window in the list.
@ -155,58 +155,56 @@ Quit.
.It C-a .It C-a
Whenever there are no matching windows, list every window. Whenever there are no matching windows, list every window.
.El .El
.Sh GROUPS .Sh GROUPS
.Nm .Nm
has the ability to group windows together, and use the groups to has the ability to group windows together, and use the groups to
perform operations on the entire group instead of just one window. perform operations on the entire group instead of just one window.
Currently, the only operation that is supported is to hide and unhide Currently, the only operation that is supported is to hide and unhide
the grouped windows. Together with the the grouped windows.
Together with the
.Fl s .Fl s
option, this can be used to emulate virtual desktops. option, this can be used to emulate virtual desktops.
.Pp
To edit groups, enter the group edit mode, and select/unselect the To edit groups, enter the group edit mode, and select/unselect the
groups with the group selection mouse click. A blue border will be groups with the group selection mouse click.
shown on the currently selected windows. The group selection keyboard A blue border will be shown on the currently selected windows.
shortcuts can also be used to change which group to edit. The group selection keyboard shortcuts can also be used to change
which group to edit.
.Sh MENUS .Sh MENUS
Menus are recalled by clicking the mouse on the root window: Menus are recalled by clicking the mouse on the root window:
.Pp
.Bl -tag -width 10n -offset -indent -compact .Bl -tag -width 10n -offset -indent -compact
.It Fa M1 .It Fa M1
Show list of currently hidden windows. Clicking on an item will Show list of currently hidden windows.
unhide that window. Clicking on an item will unhide that window.
.It Fa M2 .It Fa M2
Show list of currently defined groups. Clicking on an item will Show list of currently defined groups.
hide/unhide that group. Clicking on an item will hide/unhide that group.
.It Fa M3 .It Fa M3
Show list of applications as defined in Show list of applications as defined in
.Fa ~/.calmwm . .Fa ~/.calmwm .
Clicking on an item will spawn that application. Clicking on an item will spawn that application.
.El .El
.Sh ~/.calmwm .Sh ~/.calmwm
Any directory entries here are shown in the application menu.
Any directory entries here are shown in the application menu. When it When it is selected, the image is executed with
is selected, the image is executed with
.Xr execve 2 . .Xr execve 2 .
One use of this is to create symbolic links for your favorite One use of this is to create symbolic links for your favorite
applications in this directory using applications in this directory using
.Xr ln 1 . .Xr ln 1 .
.Pp
The entries The entries
.Nm term .Nm term
and and
.Nm lock .Nm lock
have special meaning. When they exist they point to the terminal have special meaning.
program and screen locking programs used by the keybindings specified When they exist they point to the terminal program and screen locking
above. The defaults for these are programs used by the keybindings specified above.
The defaults for these are
.Xr xterm 1 .Xr xterm 1
and and
.Xr xlock 1 , .Xr xlock 1 ,
respectively. respectively.
.Sh ENVIRONMENT .Sh ENVIRONMENT
.TP .TP
DISPLAY DISPLAY
@ -214,11 +212,9 @@ DISPLAY
starts on this display unless the starts on this display unless the
.Fl d .Fl d
option is given. option is given.
.Sh ACKNOWLEDGEMENTS .Sh ACKNOWLEDGEMENTS
.Nm .Nm
contains some code from 9wm. contains some code from 9wm.
.Sh AUTHORS .Sh AUTHORS
The The
.Nm .Nm