@@ -47,6 +47,8 @@ are described below under
47
47
Key and button bindings are typically placed in a separate file, as
48
48
described in
49
49
.Xr @PACKAGE@-keys 5 .
50
+ Window rules are typically placed in a separate file as described in
51
+ .Xr @PACKAGE@-rules 5 .
50
52
Theme elements (for backgrounds), dock applications (dock apps), and
51
53
style elements (for decorative borders and the dock) are normally placed
52
54
in separate files, also, as described in
@@ -209,7 +211,7 @@ Specifies the path and filename,
209
211
.Pa <path> ,
210
212
of a file from which to read key bindings.
211
213
The path may be absolute or relative: when relative, the path
212
- is considered relative to the directory which contains the
214
+ is considered relative to the directory that contains the
213
215
configuration file in which the declaration resides.
214
216
The default is
215
217
.Pa keysrc ,
@@ -227,14 +229,68 @@ file to which it is associated, or included by one of those files. When
227
229
a
228
230
.Pa themerc
229
231
file is specified, the file will normally specify or include the
230
- .Pa keysFile .
232
+ .Cm keysFile .
231
233
.Pp
232
234
See
233
235
.Xr @PACKAGE@-keys 5
234
236
for more information on the format and contents of this file.
235
237
.Pp
236
238
Default:
237
239
.Li Adwm* Ns Cm keysFile Ns Li : Pa keysrc
240
+ .It Cm buttonFile Pa <path>
241
+ Specifies the path and filename,
242
+ .Pa <path> ,
243
+ of a file from which to read mouse button bindings. The path may be
244
+ absolute or relative: when relative, the path is considered relative to
245
+ the directory that contains the configuration file in which the
246
+ declaration resides. The default is
247
+ .Pa buttonrc ,
248
+ that is, the file named
249
+ .Pa buttonrc
250
+ in the same directory as the main configuration file.
251
+ .Pp
252
+ The
253
+ .Pa buttonrc
254
+ file is normally placed in the same directory as the
255
+ .Pa themerc
256
+ or
257
+ .Pa stylerc
258
+ file to which it is associated, or included by one of those files. When
259
+ a
260
+ .Pa themerc
261
+ file is specified, the file will normally specify or include the
262
+ .Cm buttonFile .
263
+ .Pp
264
+ See
265
+ .Xr @PACKAGE@-buttons 5
266
+ for more information on the format and contents of this file.
267
+ .Pp
268
+ Default:
269
+ .Li " Adwm*" Ns Cm buttonFile Ns Li : Pa buttonrc
270
+ .It Cm ruleFile Pa <path>
271
+ Specifies the path and filename,
272
+ .Pa <path> ,
273
+ of a file from which to read window rules. The path may be absolute or
274
+ relative: when relative, the path is considered relative to the
275
+ directory that contains the configuration file in which the declaration
276
+ resides. The default is
277
+ .Pa rulerc ,
278
+ that is, the file named
279
+ .Pa rulerc
280
+ in the same directory as the main configuration file.
281
+ .Pp
282
+ The
283
+ .Pa rulerc
284
+ file is normally placed in the same directory as the main configuration
285
+ file to which it is associated, or included by the main configuration
286
+ file.
287
+ .Pp
288
+ See
289
+ .Xr @PACKAGE@-rules 5
290
+ for more information on the format and contents of this file.
291
+ .Pp
292
+ Default:
293
+ .Li " Adwm*" Cm ruleFile Ns Li : Ar rulerc
238
294
.It Cm styleName Pa <directory>
239
295
Specifies the name of a style directory under which
240
296
to look for the
@@ -290,7 +346,7 @@ file is normally placed in the same directory as the
290
346
file to which it corresponds, or included by that file. When a
291
347
.Pa themerc
292
348
file is specified, the file will normally specify or include the
293
- .Pa styleFile
349
+ .Cm styleFile
294
350
file.
295
351
If the
296
352
.Pa stylerc
@@ -336,7 +392,7 @@ file is normally placed in the same directory as the
336
392
file to which it corresponds, or included by that file. When a
337
393
.Pa themerc
338
394
file is specified, the file will normally specify or include the
339
- .Pa dockFile
395
+ .Cm dockFile
340
396
file.
341
397
If the
342
398
.Pa dockrc
@@ -601,7 +657,7 @@ startup. Each value can be changed during the session using the key
601
657
binding specified in the detail, below.
602
658
.Pp
603
659
These directives should normally be specified in the
604
- .Pa styleFile
660
+ .Cm styleFile
605
661
instead of the main configuration file: see
606
662
.Xr @PACKAGE@-style 5 ;
607
663
however, they are also addressed here.
@@ -878,7 +934,7 @@ Tag directives affect the number of views (desktops) presented
878
934
by the window manager and names and layouts associated with
879
935
those views.
880
936
These directives should normally be specified in the
881
- .Pa styleFile
937
+ .Cm styleFile
882
938
instead of the main configuration file: see
883
939
.Xr @PACKAGE@-style 5 ;
884
940
however, they are also addressed here.
@@ -1123,14 +1179,16 @@ Example:
1123
1179
No defaults are provided in the default
1124
1180
.Pa @PACKAGE@rc
1125
1181
file. These resources, if defined at all, should likely be defined in the
1126
- .Pa styleFile
1182
+ .Cm styleFile
1127
1183
associated with the current style, as it is a themed item.
1128
1184
.El
1129
1185
.Ss MOUSE DIRECTIVES
1130
1186
Mouse directives affect the actions of button clicks on the
1131
1187
root window, or on the menu button in the title bar of client
1132
1188
windows. These directives are normally specified in the
1133
- .Pa keysFile
1189
+ .Cm keysFile
1190
+ or
1191
+ .Cm buttonFile
1134
1192
instead of the main configuration file: see
1135
1193
.Xr @PACKAGE@-keys 5 ;
1136
1194
however, they are also addressed here.
@@ -1156,7 +1214,7 @@ support a root menu.)
1156
1214
See
1157
1215
.Xr xde-menu 1
1158
1216
for a suitable root window menu for
1159
- .Cm @PACKAGE @ .
1217
+ .Nm @PACKAGE_NAME @ .
1160
1218
.Pp
1161
1219
Default:
1162
1220
.Li Adwm* Ns Cm command Ns Li : Ar " xde-menu -P -b 3"
@@ -1167,7 +1225,7 @@ The default is to not execute a shell command.
1167
1225
See
1168
1226
.Xr xde-wkspmenu 1
1169
1227
for a suitable workspace menu for
1170
- .Cm @PACKAGE @ .
1228
+ .Nm @PACKAGE_NAME @ .
1171
1229
.Pp
1172
1230
Default:
1173
1231
.Li Adwm* Ns Cm command2 Ns Li : Ar " xde-wkspmenu -p -b 2"
@@ -1178,14 +1236,14 @@ The default is to not execute a shell command.
1178
1236
See
1179
1237
.Xr xde-winlist 1
1180
1238
for a suitable window list menu for
1181
- .Cm @PACKAGE @ .
1239
+ .Nm @PACKAGE_NAME @ .
1182
1240
.Pp
1183
1241
Default:
1184
1242
.Li " ! Adwm*" Ns Cm command3 Ns Li : Ar " xde-winlist -p -b 1 --hidden"
1185
1243
.Pp
1186
1244
.Sy Note:
1187
1245
This command is commented out in the default
1188
- .Pa keysFile
1246
+ .Cm keysFile
1189
1247
because it can be quite annoying to bind button 1 on the root window.
1190
1248
.It Li [ Ns Li { Ns Cm session Ns Li | Ns Cm screen<s> Ns Li } Ns Li . Ns Li ] Ns Cm menucommand Ar <shell-command>
1191
1249
Specifies the shell command to execute when a button is
@@ -1194,15 +1252,15 @@ The default is to not execute a shell command.
1194
1252
See
1195
1253
.Xr xde-winmenu 1
1196
1254
for a suitable window menu for
1197
- .Cm @PACKAGE @ .
1255
+ .Nm @PACKAGE_NAME @ .
1198
1256
.Pp
1199
1257
Default:
1200
1258
.Li Adwm* Ns Cm menucommand Ns Li : Ar " xde-winmenu -p -b 1"
1201
1259
.El
1202
1260
.Ss KEY BINDINGS
1203
1261
Key bindings describe the binding of key presses to various functions.
1204
1262
These directives are normally specified in the
1205
- .Pa keysFile
1263
+ .Cm keysFile
1206
1264
instead of the main configuration file. They are not addressed here.
1207
1265
See
1208
1266
.Xr @PACKAGE@-keys 5 .
@@ -1212,59 +1270,11 @@ to alter their behaviour (primarily for tiled layouts). Their purpose
1212
1270
is to address clients that are not well-behaved with dynamic window
1213
1271
managers.
1214
1272
.Pp
1215
- Rules are formatted as follows:
1216
- .Pp
1217
- .Li Cm rule<n> Ns Li : Ar <propregex> <tagregex> <isfloating> <hastitle>
1218
- .Pp
1219
- Where the fields are defined as follows:
1220
- .Pp
1221
- .Bl -tag -width " .Ar <isfloating>" -compact
1222
- .It Cm rule<n>
1223
- The rule, where
1224
- .Cm <n>
1225
- is a number from zero (0) to sixty-three (63), inclusive.
1226
- .Pp
1227
- .It Ar <propregex>
1228
- A regular expression meant to match the 3-tuple of resource class,
1229
- resource name, and role (which are separated by semicolons (":")):
1230
- .Pp
1231
- .Li Ar <res_class> Ns Li : Ns Ar <res_name> Ns Li : Ns Ar <role>
1232
- .Pp
1233
- Note that none of these fields contain any white space (any white space
1234
- characters will have been replaced by underscores ("_") in the string to
1235
- match. Also, the regular expression cannot contain any white space
1236
- either or an undefined result will occur.
1237
- The special sequence,
1238
- .Cm NULL ,
1239
- can be used to skip this regular expression.
1240
- .Pp
1241
- .It Ar <tagregex>
1242
- A regular expression meant to match the tag (desktop) name:
1243
- .Pp
1244
- .Li Ar <tagname>
1245
- .Pp
1246
- Note that
1247
- the tag name will not contain any white space (any white space
1248
- characters will have been replaced by underscores ("_") in the string to
1249
- match. Also, the regular expression cannot contain any white space.
1250
- The special sequence,
1251
- .Cm NULL ,
1252
- can be used to skip this regular expression.
1253
- .Pp
1254
- .It Ar <isfloating>
1255
- An integer which, when zero (0), indicates false; when non-zero, true.
1256
- When true, the client whose rule this matches will be started floating,
1257
- even on tiled layouts. When false, the client will be started tiled.
1258
- .Pp
1259
- .It Ar <hastitle>
1260
- An integer which, when zero (0), indicates false; when non-zero, true.
1261
- When true, the client whose rule this matches will not be given a
1262
- title bar. When false, it will be given a title bar.
1263
- .El
1264
- .Pp
1265
- Example:
1266
- .Dl ! Make Mplayer float with a title by default
1267
- .Dl Adwm* Ns Cm rule0 Ns Li : Ar ^Mplayer: NULL 1 1
1273
+ These directives are normally specified in the
1274
+ .Cm ruleFile
1275
+ instead of the main configuration file. They are not addressed here.
1276
+ See
1277
+ .Xr @PACKAGE@-rules 5 .
1268
1278
.Sh DEFAULTS
1269
1279
The default configuration is provided in the default
1270
1280
configuration file, typically,
@@ -1339,6 +1349,8 @@ and
1339
1349
.Rs
1340
1350
.Xr echinus 1 ,
1341
1351
.Xr @ PACKAGE@ -keys 5 ,
1352
+ .Xr @ PACKAGE@ -buttons 5 ,
1353
+ .Xr @ PACKAGE@ -rules 5 ,
1342
1354
.Xr @ PACKAGE@ -theme 5 ,
1343
1355
.Xr @ PACKAGE@ -dock 5 ,
1344
1356
.Xr @ PACKAGE@ -style 5 ,
@@ -1360,7 +1372,7 @@ and
1360
1372
.Sh BUGS
1361
1373
No outstanding bugs.
1362
1374
.Sh HISTORY
1363
- .Cm @PACKAGE @
1375
+ .Nm @PACKAGE_NAME @
1364
1376
configuration began with the simple X Resource scheme
1365
1377
provided by
1366
1378
.Xr echinus 1
0 commit comments