Simplify list markup.

OK okan@ schwarze@
This commit is contained in:
tim 2020-03-13 20:50:07 +00:00
parent 8990b0be5d
commit 99b5f48359

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: cwmrc.5,v 1.74 2020/02/03 16:38:02 okan Exp $ .\" $OpenBSD: cwmrc.5,v 1.75 2020/03/13 20:50:07 tim Exp $
.\" .\"
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org> .\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
.\" .\"
@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: February 3 2020 $ .Dd $Mdocdate: March 13 2020 $
.Dt CWMRC 5 .Dt CWMRC 5
.Os .Os
.Sh NAME .Sh NAME
@ -37,10 +37,8 @@ Arguments containing whitespace should be surrounded by double quotes
.Pq \&" . .Pq \&" .
.Pp .Pp
The following options are accepted: The following options are accepted:
.Pp .Bl -tag -width Ds
.Bl -tag -width Ds -compact .It Ic autogroup Ar group Oo Ar windowname , Oc Ns Ar windowclass
.It Ic autogroup Ar group windowclass
.It Ic autogroup Ar group windowname,windowclass
Automatically add new windows to Automatically add new windows to
.Ar group .Ar group
if their class property matches if their class property matches
@ -62,7 +60,6 @@ used to override
The name and class values, respectively, for existing windows The name and class values, respectively, for existing windows
are both set in the WM_CLASS property and may be obtained using are both set in the WM_CLASS property and may be obtained using
.Xr xprop 1 . .Xr xprop 1 .
.Pp
.It Ic bind-key Ar key function .It Ic bind-key Ar key function
Bind or rebind key Bind or rebind key
.Ar key .Ar key
@ -93,7 +90,6 @@ The
may either be one from the may either be one from the
.Sx BIND FUNCTION LIST .Sx BIND FUNCTION LIST
(see below) or the command line that is to be executed. (see below) or the command line that is to be executed.
.Pp
.It Ic bind-mouse Ar button function .It Ic bind-mouse Ar button function
Bind or rebind button Bind or rebind button
.Ar button .Ar button
@ -128,38 +124,27 @@ The
may be taken from the may be taken from the
.Sx BIND FUNCTION LIST .Sx BIND FUNCTION LIST
(see below) or the command line that is to be executed. (see below) or the command line that is to be executed.
.Pp
.It Ic borderwidth Ar pixels .It Ic borderwidth Ar pixels
Set the window border width to Set the window border width to
.Ar pixels . .Ar pixels .
.Pp
.It Ic color activeborder Ar color .It Ic color activeborder Ar color
Set the color of the active border. Set the color of the active border.
.Pp
.It Ic color font Ar color .It Ic color font Ar color
Set menu font color. Set menu font color.
.Pp
.It Ic color selfont Ar color .It Ic color selfont Ar color
Set font color for selected menu item. Set font color for selected menu item.
.Pp
.It Ic color groupborder Ar color .It Ic color groupborder Ar color
Set the color of the border while grouping a window. Set the color of the border while grouping a window.
.Pp
.It Ic color inactiveborder Ar color .It Ic color inactiveborder Ar color
Set the color of the inactive border. Set the color of the inactive border.
.Pp
.It Ic color menubg Ar color .It Ic color menubg Ar color
Set menu background color. Set menu background color.
.Pp
.It Ic color menufg Ar color .It Ic color menufg Ar color
Set menu foreground color. Set menu foreground color.
.Pp
.It Ic color urgencyborder Ar color .It Ic color urgencyborder Ar color
Set the color of the border of a window indicating urgency. Set the color of the border of a window indicating urgency.
.Pp
.It Ic color ungroupborder Ar color .It Ic color ungroupborder Ar color
Set the color of the border while ungrouping a window. Set the color of the border while ungrouping a window.
.Pp
.It Ic command Ar name path .It Ic command Ar name path
Every Every
.Ar name .Ar name
@ -183,13 +168,11 @@ The defaults are
and and
.Xr xlock 1 , .Xr xlock 1 ,
respectively. respectively.
.Pp
.It Ic fontname Ar font .It Ic fontname Ar font
Change the default Change the default
.Ar font .Ar font
for for
.Xr Xft 3 . .Xr Xft 3 .
.Pp
.It Ic gap Ar top bottom left right .It Ic gap Ar top bottom left right
Define a Define a
.Dq gap .Dq gap
@ -200,28 +183,23 @@ This
can be used for applications such as can be used for applications such as
.Xr xclock 1 , .Xr xclock 1 ,
where the user may wish to remain visible. where the user may wish to remain visible.
.Pp
.It Ic ignore Ar windowname .It Ic ignore Ar windowname
Ignore, and do not warp to, windows with the name Ignore, and do not warp to, windows with the name
.Ar windowname .Ar windowname
when drawing borders and cycling through windows. when drawing borders and cycling through windows.
.Pp
.It Ic moveamount Ar pixels .It Ic moveamount Ar pixels
Set a default size for the keyboard movement bindings, Set a default size for the keyboard movement bindings,
in pixels. in pixels.
The default is 1. The default is 1.
.Pp
.It Ic snapdist Ar pixels .It Ic snapdist Ar pixels
Minimum distance to snap-to adjacent edge, in pixels. Minimum distance to snap-to adjacent edge, in pixels.
The default is 0. The default is 0.
.Pp
.It Ic sticky Ic yes Ns \&| Ns Ic no .It Ic sticky Ic yes Ns \&| Ns Ic no
Toggle sticky group mode. Toggle sticky group mode.
The default behavior for new windows is to not assign any group. The default behavior for new windows is to not assign any group.
By enabling sticky group mode, By enabling sticky group mode,
.Xr cwm 1 .Xr cwm 1
will assign new windows to the currently selected group. will assign new windows to the currently selected group.
.Pp
.It Ic unbind-key Ar key .It Ic unbind-key Ar key
Unbind function bound to Unbind function bound to
.Ar key . .Ar key .
@ -230,7 +208,6 @@ A special
keyword keyword
.Dq all .Dq all
can be used to unbind all keys. can be used to unbind all keys.
.Pp
.It Ic unbind-mouse Ar button .It Ic unbind-mouse Ar button
Unbind function bound to Unbind function bound to
.Ar button . .Ar button .