Skip to content

Commit 7fca3f5

Browse files
committed
minor cleanup of keys manpage
1 parent 7f4f4ab commit 7fca3f5

File tree

1 file changed

+16
-30
lines changed

1 file changed

+16
-30
lines changed

doc/adwm-keys.5.in

+16-30
Original file line numberDiff line numberDiff line change
@@ -55,35 +55,35 @@ The general syntax of key commands, as specified directly in the
5555
.Nm @PACKAGE_NAME@
5656
resource file, is as follows:
5757
.Pp
58-
.Dl Li "Adwm*" Ns Cm command Ns Li : Ar <list>
58+
.Dl Li "Adwm*" Ns Cm <command> Ns Li : Ar <list>
5959
.Pp
6060
where the fields are defined as follows:
6161
.Pp
6262
.Bl -tag -width Ds
63-
.It Cm command
63+
.It Cm <command>
6464
One of the commands described under
6565
.Sx COMMANDS .
6666
.It Ar <list> Li = Ar <binding> Op Li , Ar ...
6767
A list of one or more key values, separated by commas.
6868
The list represents the list of key bindings associated with the
69-
.Cm command .
69+
.Cm <command> .
7070
Each
7171
.Ar <binding>
7272
in the list represents a single key binding to the
73-
.Cm command
73+
.Cm <command>
7474
with arguments.
7575
.It Ar <binding> Li = Ar <chain> Op Li = Ar <args>
7676
A key chain followed by an optional equal-sign and key arguments list.
7777
The
7878
.Ar <chain>
7979
specifies the sequence of key presses necessary to invoke the
80-
.Cm command ,
80+
.Cm <command> ,
8181
and the
8282
.Ar <args>
8383
specify the arguments to
84-
.Cm command
84+
.Cm <command>
8585
that are associated with this key binding, described for each
86-
.Cm command ,
86+
.Cm <command> ,
8787
below, under
8888
.Sx COMMANDS .
8989
.It Ar <args> Li = Ar <arg> Ns Op Li " " Ar ...
@@ -93,7 +93,7 @@ the comma, colon nor space characters.
9393
A list of one or more key specifications, separated by colons. Each
9494
.Ar <spec>
9595
specifies a keypress combination that must be performed in sequence to cause the
96-
.Cm command
96+
.Cm <command>
9797
action to be performed.
9898
.Pp
9999
Example:
@@ -220,7 +220,7 @@ support a root menu.)
220220
See
221221
.Xr xde-menu 1
222222
for a suitable root window menu for
223-
.Cm @PACKAGE@ .
223+
.Nm @PACKAGE_NAME@ .
224224
.Pp
225225
Default:
226226
.Li Adwm* Ns Cm command Ns Li : Ar "xde-menu -P -b 3"
@@ -231,7 +231,7 @@ The default is to not execute a shell command.
231231
See
232232
.Xr xde-wkspmenu 1
233233
for a suitable workspace menu for
234-
.Cm @PACKAGE@ .
234+
.Nm @PACKAGE_NAME@ .
235235
.Pp
236236
Default:
237237
.Li Adwm* Ns Cm command2 Ns Li : Ar "xde-wkspmenu -p -b 2"
@@ -242,7 +242,7 @@ The default is to not execute a shell command.
242242
See
243243
.Xr xde-winlist 1
244244
for a suitable window list menu for
245-
.Cm @PACKAGE@ .
245+
.Nm @PACKAGE_NAME@ .
246246
.Pp
247247
Default:
248248
.Li "! Adwm*" Ns Cm command3 Ns Li : Ar "xde-winlist -p -b 1 --hidden"
@@ -258,7 +258,7 @@ The default is to not execute a shell command.
258258
See
259259
.Xr xde-winmenu 1
260260
for a suitable window menu for
261-
.Cm @PACKAGE@ .
261+
.Nm @PACKAGE_NAME@ .
262262
.Pp
263263
Default:
264264
.Li Adwm* Ns Cm menucommand Ns Li : Ar "xde-winmenu -p -b 1"
@@ -1177,7 +1177,7 @@ These functions are not currently implemented.
11771177
Rearranges windows in floating modes (or icons, when specified). This is
11781178
for compatibility with
11791179
.Xr icewm 1 .
1180-
.Nm @PACKAGE@
1180+
.Nm @PACKAGE_NAME@
11811181
does not support icons on the desktop directly, so the
11821182
.Cm arrangeicons
11831183
function is not implemented.
@@ -1250,20 +1250,6 @@ Defaults:
12501250
.Dl Adwm* Ns Cm spawn42 Ns Li : Ar "CWA + Right = xrandr -o right"
12511251
.Dl Adwm* Ns Cm spawn43 Ns Li : Ar "CWA + Down = xrandr -o inverted"
12521252
.Dl Adwm* Ns Cm spawn44 Ns Li : Ar "CWA + Up = xrandr -o normal"
1253-
.Pp
1254-
.It Cm command Ar shell-command
1255-
This is not a key binding. It specifies a command,
1256-
.Ar shell-command ,
1257-
to execute when a mouse button is pressed on the root window. The default pops an
1258-
XDG root menu.
1259-
.Pp
1260-
Note that additional keybindings with commands can be specified on the
1261-
same line following a comma, commas in commands must be escaped with
1262-
two backslashes (one for xrdb and one for @PACKAGE@).
1263-
.Pp
1264-
Default:
1265-
.Li Adwm* Ns Cm command Ns : Ar "xdg-traymenu -p -b 1"
1266-
.El
12671253
.Sh DEFAULTS
12681254
The default key bindings are provided in the default key file,
12691255
.Pa @pkgconfdir@/keysrc ,
@@ -1333,15 +1319,15 @@ Location of the default system keys file.
13331319
No outstanding bugs.
13341320
.Sh HISTORY
13351321
.Pp
1336-
.Cm @PACKAGE@
1322+
.Nm @PACKAGE_NAME@
13371323
configuration began with the simple X Resource scheme provided by
13381324
.Xr echinus 1
13391325
and quickly grew from there to support the advanced features of
1340-
.Cm @PACKAGE@ .
1326+
.Nm @PACKAGE_NAME@ .
13411327
The same basic X Resource scheme is supported and an
13421328
.Xr echinus 1
13431329
resource file will work with
1344-
.Cm @PACKAGE@
1330+
.Nm @PACKAGE_NAME@
13451331
(substituting
13461332
.Cm Adwm*
13471333
for

0 commit comments

Comments
 (0)