File: jwm.1.in

package info (click to toggle)
jwm 2.3.6-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 2,608 kB
  • sloc: ansic: 21,262; sh: 3,137; makefile: 127; sed: 16
file content (1893 lines) | stat: -rw-r--r-- 43,307 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
.\"
.\" groff -man -Tascii jwm.1
.\"
.TH jwm 1 "@DATE@" "v@VERSION@"
.SH NAME
JWM - Joe's Window Manager

.SH SYNOPSIS
.BR jwm " [options]"
.SH DESCRIPTION
JWM is a window manager for the X11 Window System.

.SH OPTIONS
\fB\-display\fP \fIdisplay\fP
.RS
This option specifies the display to use; see \fBX\fP(1).
.RE
.P
.B "-exit"
.RS
Exit JWM by sending _JWM_EXIT to the root window.
.RE
.P
\fB\-f\fP \fIfile\fP
.RS
Specify an alternate configuration file to use.
.RE
.P
.B "-h"
.RS
Display a help message and exit.
.RE
.P
.B "-p"
.RS
Parse the configuration file and exit.
It is a good idea to use this after making modifications to the configuration
file to ensure there are no errors.
.RE
.P
.B "-restart"
.RS
Restart JWM by sending _JWM_RESTART to the root window.
.RE
.P
.B "-reload"
.RS
Reload menus by sending _JWM_RELOAD to the root window.
.RE
.P
.B "-v"
.RS
Display version information and exit.
.RE

.SH FILES
.IP "@SYSCONF@/jwm/system.jwmrc"
The default JWM configuration file.
.IP "~/.jwmrc"
Default local configuration file. Copy the default configuration file to this
location to make user-specific changes.  See also, option \fB\-f\fP.

.SH CONFIGURATION
.B OVERVIEW
.RS
Configuration of JWM is done by editing ".jwmrc" (or the configuration
file specified with the \fB\-f\fP option).  This file is XML
making it easy to edit, either by hand or programmatically. The
example.jwmrc gives an example configuration file.
Before restarting JWM, it is a good idea to run "jwm \-p" to make
sure the configuration file is free of errors.  Otherwise you may end up
without a root menu.
.RE
.P
.B "ROOT MENU"
.RS
The root menu in JWM is the primary way of starting programs.
It also provides a way to restart or exit the window manager.
The outer most tag is \fBRootMenu\fP. The following attributes are
supported:
.P
\fBonroot\fP \fIlist\fP
.RS
Determine which buttons on the root window activate the menu.
This is a list of integers specifying buttons. The default is "123".
Note that multiple root menus may be specified by using different
buttons for different menus. The range of possible values is
\fB0\fP to \fB9\fP inclusive as well as \fBa\fP to \fBz\fP inclusive,
providing for up to 36 menus.  Note that only the numeric values
map to mouse buttons.
.RE
.P
\fBheight\fP \fIint\fP
.RS
Height of each menu item in pixels. 0 indicates the largest menu item
will determine the height. The default is 0.
.RE
.P
\fBlabeled\fP \fIbool\fP
.RS
Determines if a label appears at the top of the menu. Default is false.
.RE
.P
\fBlabel\fP \fIstring\fP
.RS
The label to display at the top of the menu. Default is "JWM".
.RE
.P
Within the \fBRootMenu\fP tag, the following tags are supported:
.P
.B Menu
.RS
This tag creates a submenu item. Any of the tags allowed within the 
\fBRootMenu\fP tag, including the \fBMenu\fP tag are allowed within this
element. The following attributes are supported:
.P
\fBheight\fP \fIint\fP
.RS
Height of each menu item in pixels. 0 indicates the largest menu item
will determine the height. The default is inherited from the parent menu.
.RE
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. No default.
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this menu. No default.
.RE
.P
\fBlabeled\fP \fIbool\fP
.RS
Determines if a label appears at the top of the menu. Default is false.
.RE
.RE
.P
.B Dynamic
.RS
Dynamically include the contents of a file or executable into a submenu.
The file must start with a "JWM" tag. The file is specified by the text
of the tag. If the text starts with "exec:" then the output of a program
is used. This tag supports the same attributes as \fBMenu\fP.
.RE
.P
.B Include
.RS
Include the contents of a file into the menu structure. The file must
start with a "JWM" tag. The file is specified by the text of the tag.
If the text starts with "exec:" then the output of a program is used.
.RE
.P
.B Program
.RS
The \fBProgram\fP tag provides a way to start an external program. The text
in this tag is the command used to start the program.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to display. Default is the text of the tag.
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use. No default.
.RE
.RE
.P
.B Separator
.RS
This tag simply puts a line in the menu allowing menu divisions.
No text or attributes are used.
.RE
.P
.B Desktops
.RS
Add a desktop menu. This will add a submenu with a list of desktops that
can be used to change the current desktop.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use for the menu. The default is "Desktops".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B SendTo
.RS
Add a "send to" menu to the menu. After selecting an item from this menu,
a window may be selected to send that window to the selected desktop.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "SendTo".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Stick
.RS
Add a stick/unstick window operation to the menu. After selecting this
item a window may be selected to toggle the sticky state of that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Stick".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Maximize
.RS
Add a maximize window operation to the menu. After selecting this
item a window may be selected to toggle the maximized state of that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Maximize".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Minimize
.RS
Add a minimize window operation to the menu. After selecting this
item a window may be selected to minimize that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Minimize".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Shade
.RS
Add a shade/unshade window operation to the menu. After selecting this
item a window may be selected to toggle the shaded status of that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Shade".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Move
.RS
Add a move window operation to the menu. After selecting this
item a window may be selected to move that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Move".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Resize
.RS
Add a resize window operation to the menu. After selecting this
item a window may be selected to resize that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Resize".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Kill
.RS
Add a kill window operation to the menu. After selecting this
item a window may be selected to kill that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Kill".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Close
.RS
Add a close window operation to the menu. After selecting this
item a window may be selected to close that window.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Close".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use for this item. No default.
.RE
.RE
.P
.B Restart
.RS
This tag adds a menu item to restart the window manager.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Restart".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use. No default.
.RE
.RE
.P
.B Exit
.RS
This tag adds a menu item to exit the window manager. If text is
present within this tag, it is interpreted as a command to run when JWM
exits. This can be used to start another window manager.
The following attributes are supported:
.P
\fBlabel\fP \fIstring\fP
.RS
The label to use. The default is "Exit".
.RE
.P
\fBtooltip\fP \fIstring\fP
.RS
A tooltip to display. No default.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
The icon to use. No default.
.RE
.P
\fBconfirm\fP \fIbool\fP
.RS
Determine if a confirm dialog appears before exiting. Default is true.
.RE
.P
Note that confirm dialogs can be disabled completely at the compile-time.
.RE
.RE

.B TRAYS
.RS
One or more trays may be created via the \fBTray\fP tag.
This tag supports the following attributes:
.P
\fBautohide\fP \fIstring\fP
.RS
Specifies the location to hide the tray when not activated. Default is "off"
to disable hiding.
Possible values are "left", "right", "top", "bottom", and "off".
.RE
.P
\fBx\fP \fIint\fP
.RS
The x-coordinate of the tray. This may be negative to indicate an offset
from the right of the screen.
.RE
.P
\fBy\fP \fIint\fP
.RS
The y-coordinate of the tray. This may be negative to indicate an offset
from the bottom of the screen.
.RE
.P
\fBwidth\fP \fIint\fP
.RS
The width of the tray. 0 indicates that the tray should compute an
optimal width depending on what it contains and the layout. A negative
value subtracts from with screen width. 0 is the default.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the tray. 0 indicates that the tray should compute an
optimal height depending on what it contains and the layout. A negative
value subtracts from the screen height. 0 is the default.
.RE
.P
\fBlayer\fP { \fBbelow\fP | \fBnormal\fP | \fBabove\fP }
.RS
The layer of the tray. The default is \fBabove\fP.
.RE
.P
\fBlayout\fP { \fBvertical\fP | \fBhorizontal\fP }
.RS
The layout of the tray. The default is \fBhorizontal\fP.
.RE
.P
\fBvalign\fP { \fBfixed\fP | \fBtop\fP | \fBcenter\fP | \fBbottom\fP }
.RS
The vertical alignment of the tray. The default is \fBfixed\fP.
.RE
.P
\fBhalign\fP { \fBfixed\fP | \fBleft\fP | \fBcenter\fP | \fBright\fP }
.RS
The horizontal alignment of the tray. The default is \fBfixed\fP.
.RE
.P
Within this tag the following tags are supported:
.P
.B Clock
.RS
Add a clock to the tray. The text of this tag determines what action to
take when the clock is clicked.  Optionally, one or more \fBButton\fP tags
may be specified to bind actions to specific mouse buttons specified via the
\fBmask\fP attribute.  By default, the button mask is "123".
The following actions are supported:
.P
\fBroot:\fP\fIn\fP
.RS
Show root menu \fIn\fP.
Note that the default TrayButton action is \fBroot:1\fP.
.RE
.P
\fBexec:\fP \fIstring\fP
.RS
Execute a command.
.RE
.P
\fBshowdesktop\fP
.RS
Minimize all windows on the current desktop.
.RE
.P
This tag supports the following attributes:
.P
\fBformat\fP \fIstring\fP
.RS
The format of the clock. See \fBstrftime\fP(3).
.RE
.P
\fBzone\fP \fIstring\fP
.RS
The time zone of the clock.  See \fBtzset\fP(3).
.RE
.P
\fBwidth\fP \fIint\fP
.RS
The width of the clock. 0 indicates that the width should be determined
from the length of the text to be displayed.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the clock. 0 indicates that the height should be determined
from the font used.
.RE
.RE
.P
.B Dock
.RS
Add a dock for system notifications. This can be used by those programs
that use the _NET_SYSTEM_TRAY_Sn selection. The size of the Dock is
dynamic based on the size of the tray and the number of items contained.
Only one Dock is allowed per instance of JWM. This tag supports the
following attribute:
.P
\fBwidth\fP \fIint\fP
.RS
The maximum width of an item contained in the dock. This defaults to
the width or height of the tray (whichever is smaller).
.RE
.RE
.P
.B Pager
.RS
Add a pager to the tray.
A pager shows a miniature representation of a desktop.
When over the pager, the scroll wheel will switch desktops.
Holding down the right mouse button allows you 
to drag a window around in the pager which changes its position on the 
real desktop.
You can also drag a window in the pager from one desktop to another.
This tag supports the following attributes:
.P
\fBlabeled\fP \fIbool\fP
.RS
Determines if the pager has text labels. Default is false.
.RE
.P
Also see the \fBPAGER STYLE\fP section for more information.
.RE
.P
.B Spacer
.RS
Add empty space to the tray.
This tag supports the following attributes:
.P
\fBwidth\fP \fIint\fP
.RS
The width of the spacer (0 to fill all available space).  0 is the default.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the spacer (0 to fill all available space).  0 is the default.
.RE
.RE
.P
.B Swallow
.RS
Swallow a program into the tray. The text of this tag gives the
command to run.
This tag supports the following attributes:
.P
\fBname\fP \fIstring\fP
.RS
The name of the program to swallow. This attribute is required.
.RE
.P
\fBwidth\fP \fIint\fP
.RS
The width of the swallowed program. 0 indicates that the width should
be determined from the tray and size requested from the program. 0 is
the default.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The height of the swallowed program. 0 indicates that the height should
be determined from the tray and the size requested from the program. 0 is
the default.
.RE
.RE
.P
.B TaskList
.RS
Add a task list to the tray.
This tag supports the following attributes:
.P
\fBheight\fP \fIint\fP
.RS
The height of an item in the task list. 0 indicates that the height
should be taken from the tray.  The default is 0.
.RE
.P
\fBlabeled\fP \fIbool\fP
.RS
Determines if a label is shown for items in the task list.
The default is true.
.RE
.P
\fBmaxwidth\fP \fIint\fP
.RS
The maximum width of an item in the task list. 0 indicates no maximum.
The default is 0.
.RE
.RE
.P
.B TrayButton
.RS
Add a button to the tray. The text of this tag determines what action to
take when the button is clicked. Optionally, one or more \fBButton\fP tags
may be specified to bind actions to specific mouse buttons specified via the
\fBmask\fP attribute.  By default, the button mask is "123".
The following actions are supported:
.P
\fBroot:\fP\fIn\fP
.RS
Show root menu \fIn\fP.
Note that the default TrayButton action is \fBroot:1\fP.
.RE
.P
\fBexec:\fP \fIstring\fP
.RS
Execute a command.
.RE
.P
\fBshowdesktop\fP
.RS
Minimize all windows on the current desktop.
.RE
.P
This tag supports the following attributes:
.P
\fBlabel\fP \fIstring\fP
.RS
A label to display. No default.
.RE
.P
\fBpopup\fP \fIstring\fP
.RS
A string to be displayed for a popup. This will default to the value
specified for \fBlabel\fP, if provided. If neither \fBpopup\fP nor
\fBlabel\fP are specified no popup will be shown.
.RE
.P
\fBicon\fP \fIstring\fP
.RS
An icon to display. No default.
.RE
.RE
.RE

.B INCLUDES
.RS
Other configuration files or the output of programs may be included under
the JWM tag via the \fBInclude\fP tag. The text of this tag specifies the
location of an additional configuration file or program. The path may be
relative to the location JWM was started, an absolute path, or a path
referencing an environment variable (using '$').
If the text starts with "exec:", the specified program is executed and
its output is used.
The format of the configuration file or program
output is the same as the main configuration file.
.RE

.B "GROUP SETTINGS"
.RS
Program groups allow one to specify options which apply to a group of
programs by name and/or class. A program group is created with the 
\fBGroup\fP tag. As many program groups can be created as desired.
If one or more \fBName\fP tags is specified, at least one name must
match.  Likewise, if one or more \fBClass\fP tags is specified, at least
one class must match.
JWM matches using extended POSIX regular expressions for both \fBName\fP
and \fBClass\fP tags.  See \fBregex\fP(7).
Within the \fBGroup\fP tag the following tags are supported:
.P
.B Name
.RS
The window name of a program to match to be in this group (the
first string in WM_CLASS).
.RE
.B Class
.RS
The window class for a program to match to be in this group (the
second string in WM_CLASS).
.RE
.B Option
.RS
An option for this group. Possible options are:

.P
.B aerosnap
.RS
Enable auto-maximization when a window is dragged to the corner of the
screen.
.RE

.P
.B border
.RS
Causes windows in this group to have a border.
.RE

.P
.B centered
.RS
Center windows in this group upon initial placement instead of using
cascaded placement.
.RE

.P
.B constrain
.RS
Constrain windows in this group to the screen.
.RE

.P
\fBdesktop:\fP\fI#\fP
.RS
The desktop on which windows in this group will be started.
.RE

.P
.B drag
.RS
Do not pass mouse events to the window.  Instead, use the mouse to
move/resize the window.
.RE

.P
.B fixed
.RS
Fix windows in this group to their initial desktop.
This causes the current desktop to change when the window is activated
rather than the default behavior of bringing the window to the current
desktop.
.RE

.P
.B fullscreen
.RS
Make windows in this group initially fullscreen.
.RE

.P
.B hmax
.RS
Make windows in this group maximize horizontally.
.RE

.P
\fBicon:\fP\fIstring\fP
.RS
The icon to be used for windows in this group.
.RE

.P
.B ilist
.RS
Ignore the program-specified list setting for windows in this group.
If specified with \fBnolist\fP, windows will not be listed in the task
list, otherwise windows will be listed.
.RE

.P
.B iignore
.RS
Ignore the size increment hint when maximizing windows in this group.
.RE

.P
.B ipager
.RS
Ignore the program-specified pager setting for windows in this group.
If specified with \fBnopager\fP, windows will not be shown in the pager,
otherwise windows will be shown.
.RE

.P
\fBlayer:\fP\fIstring\fP
.RS
The layer on which windows in this group will be started.
Valid options are \fBbelow\fP, \fBnormal\fP, and \fBabove\fP
.RE

.P
.B maximized
.RS
Make windows in this group initially maximized.
.RE

.P
.B minimized
.RS
Make windows in this group initially minimized.
.RE

.P
.B noborder
.RS
Causes windows in this group to be displayed without a border.
.RE

.P
.B noclose
.RS
Prevent windows in this group from being closed.
.RE

.P
.B nodrag
.RS
Disable mod1+drag moving/resizing for windows in this group.
.RE

.P
.B nofocus
.RS
Prevents windows in the group from grabbing the focus when mapped.
.RE

.P
.B nofullscreen
.RS
Prevent windows in this group from being fullscreen.
.RE

.P
.B nolist
.RS
Causes the tray to ignore windows in this group when the window
is initially mapped.
.RE

.P
.B nopager
.RS
Causes the pager to ignore windows in this group.
.RE

.P
.B nomax
.RS
Prevent windows in this group from being maximized.
.RE

.P
.B nomin
.RS
Prevent windows in this group from being minimized.
.RE

.P
.B nomove
.RS
Prevent windows in this group from being moved.
.RE

.P
.B noresize
.RS
Prevent windows in this group from being resized.
.RE

.P
.B noshade
.RS
Prevent windows in this group from being shaded.
.RE

.P
.B notitle
.RS
Causes windows in this group to be displayed without a title bar.
.RE

.P
.B noturgent
.RS
Ignore the urgent hint for windows in this group.
.RE

.P
\fBopacity:\fP\fI#\fP
.RS
Set the opacity for windows in this group.
The value is a number between 0.0 and 1.0 inclusive.
.RE

.P
.B pignore
.RS
Ignore initial window position requested by program.
.RE

.P
.B shaded
.RS
Make windows in this group initially shaded.
.RE

.P
.B sticky
.RS
Make windows in this group sticky.
.RE

.P
.B tiled
.RS
Attempt to tile windows in this group upon initial placement.
If tiled placement fails, windows will fall back to cascaded placement
(the default) or centered if specified.
.RE

.P
.B title
.RS
Forces windows in this group to have a title bar.
.RE

.P
.B vmax
.RS
Make windows in this group maximize vertically.
.RE

.RE
.RE

.B "WINDOW STYLE"
.RS
The \fBWindowStyle\fP tag controls the look of window borders.
This tag supports the following attribute:
.P
.B decorations
.RS
The window decorations to use. Valid options are \fBflat\fP and
\fBmotif\fP. \fBflat\fP is the default.
.RE
.P
Within this tag, the following tags are supported:
.P
.B Font
.RS
The font used for title bars. See the \fBFONTS\fP section for more information.
This tag supports the following attribute:
.P
.B align
.RS
The window title alignment.  Valid options are \fBleft\fP,
\fBright\fP, and \fBcenter\fP.  \fBleft\fP is the default.
.RE
.RE
.P
.B Width
.RS
The width of window borders in pixels. The default is 4, the minimum is 1,
and the maximum is 128.
.RE
.P
.B Height
.RS
The height of window title bars in pixels. By default this is set to the
size of the title font. The minimum is 1, and the maximum is 256.
.RE
.P
.B Corner
.RS
The corner width of the window border for rounded window borders.
The default is 4, the minimum is 0 (rectangular), and the
maximum is 5 (most rounded).
.RE
.P
.P
.B Active
.RS
The colors/opacity used for the active window. See the \fBCOLORS\fP section for
more information on colors. The following tags are supported:
.P
.B Foreground
.RS
The color of the text and buttons in the title bar.
The default is white.
.RE
.P
.B Background
.RS
The color of the title bar (gradients are supported).
The default is #CC7700:#884400.
.RE
.P
.B Opacity
.RS
The opacity of the window. This is a floating point value between 0.0 and 1.0.
The default is 1.0.
Note that a composite manager, such as xcompmgr, is required for this.
.RE
.P
.B Outline
.RS
The color of the window outline.
The default is a darkened version of the window background.
If \fBmotif\fP window decorations are specified, two colors may be
given separated by a ':' to set the down and up colors respectively.
.RE
.RE
.P
.B Foreground
.RS
The color of text and buttons in the title bar of inactive windows.
The default is white.
.RE
.P
.B Background
.RS
The color of the title bar (gradients are supported) of inactive windows.
The default is #333333:#111111.
.RE
.P
.B Opacity
.RS
The opacity of inactive windows. This is a floating point value between
0.0 and 1.0.  The default is 0.75.  Note that a composite manager, such as
xcompmgr, is required for this.
.RE
.P
.B Outline
.RS
The color of the window outline for inactive windows.
The default is a darkened version of the window background.
If \fBmotif\fP window decorations are specified, two colors may be
given separated by a ':' to set the down and up colors respetively.
.RE
.RE

.B "TRAY STYLE"
.RS
The \fBTrayStyle\fP tag controls the look of trays.
The following attributes are supported:
.P
.B decorations
.RS
The type of decorations to use for trays.
Possible values are \fBflat\fP and \fBmotif\fP. The default
is \fBflat\fP.
.RE
.P
.B group
.RS
Determines if windows are grouped by class when shown in task bars.
Possible values are \fBtrue\fP and \fBfalse\fP. The default
is \fBfalse\fP.
.RE
.P
.B list
.RS
Determines which windows are shown in task bars.
Possible values are \fBdesktop\fP and \fBall\fP. The default
is \fBdesktop\fP.
.RE
.P
Within this tag the following tags are supported:
.P
.B Font
.RS
The default tray font to use. See the \fBFONTS\fP section for more
information.
.RE
.P
.B Foreground
.RS
The default foreground color. See the \fBCOLORS\fP section for
more information.
.RE
.P
.B Background
.RS
The default background color. See the \fBCOLORS\fP section for
more information.
.RE
.P
.B Outline
.RS
The color of the tray outline. See the \fBCOLORS\fP section for
more information.
The default is a darkened version of the tray background.
If \fBmotif\fP tray decorations are specified, this may be given as
two colors separated by a ':' to indicate the down and up colors
respectively.
.RE
.P
.B Opacity
.RS
The opacity of trays. This is a floating point value between 0.0 and 1.0.
Note that a composite manager, such as xcompmgr, is required for this.
.RE
.P
.P
.B Active
.RS
The default colors for active items on the tray.
See the \fBCOLORS\fP section for more information.
The following tags are supported:
.P
.B Foreground
.RS
The default foreground color for active items.
.RE
.P
.B Background
.RS
The default background color for active items.
.RE
.P
.B Outline
.RS
The default outline color for active items. See the \fBCOLORS\fP section
for more information.
The default is a darkened version of the background.
If \fBmotif\fP tray decorations are specified, this may be given as
two colors separated by a ':' to indicate the down and up colors
respectively.
.RE
.RE
.RE

.B "TASK LIST STYLE"
.RS
The \fBTaskListStyle\fP tag controls the look of task lists.
.P
Within this tag the following tags are supported:
.P
.B Font
.RS
The font to use. See the \fBFONTS\fP section for more information.
.RE
.P
.B Foreground
.RS
The foreground color. See the \fBCOLORS\fP section for more information.
.RE
.P
.B Background
.RS
The background color. See the \fBCOLORS\fP section for more information.
.RE
.P
.B Outline
.RS
The color of the button outline. See the \fBCOLORS\fP section for
more information.
The default is a darkened version of the background.
If \fBmotif\fP tray decorations are specified, this may be given as
two colors separated by a ':' to indicate the down and up colors
respectively.
.RE
.P
.P
.B Active
.RS
The colors for the active items.
See the \fBCOLORS\fP section for more information.
The following tags are supported:
.P
.B Foreground
.RS
The foreground color for active items.
.RE
.P
.B Background
.RS
The background color for active items.
.RE
.P
.B Outline
.RS
The outline color for active items. See the \fBCOLORS\fP section for
more information.
The default is a darkened version of the background.
If \fBmotif\fP tray decorations are specified, this may be given as
two colors separated by a ':' to indicate the down and up colors
respectively.
.RE
.RE
.RE

.B "TRAY BUTTON STYLE"
.RS
The \fBTrayButtonStyle\fP tag controls the look of tray buttons.
.P
Within this tag the following tags are supported:
.P
.B Font
.RS
The font to use. See the \fBFONTS\fP section for more information.
.RE
.P
.B Foreground
.RS
The foreground color. See the \fBCOLORS\fP section for more information.
.RE
.P
.B Background
.RS
The background color. See the \fBCOLORS\fP section for more information.
.RE
.P
.B Outline
.RS
The color of the button outline. See the \fBCOLORS\fP section for
more information.
The default is a darkened version of the background.
If \fBmotif\fP tray decorations are specified, this may be given as
two colors separated by a ':' to indicate the down and up colors
respectively.
.RE
.P
.P
.B Active
.RS
The colors for pressed buttons.
See the \fBCOLORS\fP section for more information.
The following tags are supported:
.P
.B Foreground
.RS
The foreground color for pressed buttons.
.RE
.P
.B Background
.RS
The background color for pressed buttons.
.RE
.P
.B Outline
.RS
The outline color for pressed buttons. See the \fBCOLORS\fP section for
more information.
The default is a darkened version of the background.
If \fBmotif\fP tray decorations are specified, this may be given as
two colors separated by a ':' to indicate the down and up colors
respectively.
.RE
.RE
.RE

.B "PAGER STYLE"
.RS
The \fBPagerStyle\fP tag controls the look of pagers.
Within this tag, the following tags are supported:
.P
.B Outline
.RS
The color of the outline around windows shown in the pager. See the
\fBCOLORS\fP section for more information.
.RE
.P
.B Foreground
.RS
The color of inactive windows shown in the pager. See the \fBCOLORS\fP
section for more information.
.RE
.P
.B Background
.RS
The background color of inactive desktops shown in the pager. See the
\fBCOLORS\fP section for more information.
.RE
.P
.P
.B Active
.RS
The colors used for active items in the pager.
See the \fBCOLORS\fP section for more information.
The following tags are supported:
.P
.B Foreground
.RS
The color of active windows shown in the pager.
.RE
.P
.B Background
.RS
The background color of active desktops shown in the pager.
.RE
.RE
.P
.B Text
.RS
The color to use for pager labels. See the \fBCOLORS\fP
section for more information.
.RE
.P
.B Font
.RS
The font to use for pager labels. See the \fBCOLORS\fP section
for more information.
.RE
.RE

.B "CLOCK STYLE"
.RS
The \fBClockStyle\fP tag controls the look of clocks.
Within this tag, the following tags are supported:
.P
.B Font
.RS
The font to use for clocks.
This defaults to the tray font.
See the \fBCOLORS\fP section for more information.
.RE
.B Foreground
.RS
The foreground (text) color of clocks.
This defaults to the tray foreground color.
See the \fBCOLORS\fP section for more information.
.RE
.B Background
.RS
The background color of clocks (gradients are supported).
This defaults to the tray background color.
See the \fBCOLORS\fP section for more information.
.RE
.RE

.B "MENU STYLE"
.RS
The \fBMenuStyle\fP tag controls the look of the menus in JWM
(this includes the root menu and window menus).
The following attribute is supported:
.P
.B decorations
.RS
The type of decorations to use for menus.
Possible values are \fBflat\fP and \fBmotif\fP. The default
is \fBflat\fP.
.RE
Within this tag the following tags are supported:
.P
.B Font
.RS
The font used on menus See the \fBFONTS\fP section for more information.
.RE
.P
.B Foreground
.RS
The text color of inactive menu items. See the \fBCOLORS\fP section for more
information.
.RE
.P
.B Background
.RS
The background color of inactive menu items. See the \fBCOLORS\fPsection for
more information.
.RE
.P
.B Outline
.RS
The color of the menu outline. See the \fBCOLORS\fP section for
more information.
The default is a darkened version of the menu background.
If \fBmotif\fP decorations are used, this may be given as two colors
separated by a ':' to indicate the down and up colors respectively.
.RE
.P
.P
.B Active
.P
.RS
The colors used for active menu items.
See the \fBCOLORS\fP section for more information.
The following tags are supported:
.P
.B Foreground
.RS
The text color of active menu items.
.RE
.P
.B Background
.RS
Text background color of active menu items (gradients are supported).
.RE
.RE
.P
.B Opacity
.RS
The opacity of menus. This is a floating point value between 0.0 and 1.0.
Note that a composite manager, such as xcompmgr, is required for this.
.RE
.RE

.B "POPUP STYLE"
.RS
The \fBPopupStyle\fP tag controls the look of popup windows such as those
shown when the mouse sits over a task list item.
This tag supports the following attributes:
.P
\fBdelay\fP \fIint\fP
.RS
The delay in milliseconds before popups activate.
The default is 600.
.RE
.P
\fBenabled\fP \fIstring\fP
.RS
Determine if popups are shown. This is a comma-separated list of one
or more of the following: \fBtrue\fP (all enabled), \fBfalse\fP
(no popups enabled), \fBbutton\fP (tray buttons), \fBclock\fP (clocks),
\fBmenu\fP (menus), \fBpager\fP (pagers), and \fBtask\fP (task list items).
The default is \fBtrue\fP.
.RE
.P
Within this tag the following tags are supported:
.P
.B Font
.RS
The font to use. See the \fBFONTS\fP section for more information.
.RE
.P
.B Outline
.RS
The color of the window outline. See the \fBCOLORS\fP section for more
information.
The default is black.
.RE
.P
.B Foreground
.RS
The text color. See the \fBCOLORS\fP section for more information.
.RE
.P
.B Background
.RS
The background color. See the \fBCOLORS\fP section for more information.
.RE
.RE

.B FONTS
.RS
Fonts for various parts of JWM are specified within a \fBFont\fP tag. The
text of this tag determines the font to use.
This can be either a standard X font string or, if compiled with XFT
support, an XFT font string.
.RE

.B COLORS
.RS
Colors for various parts of JWM are specified within specific tags
(described above). Colors may either be hex triplets in RGB format
(for example, #FF0000 is red) or by a name recognized by the X server.
For components that support gradients, two colors may be specified
separated by a colon.
.RE

.B ICONS
.RS
Icons for windows that don't supply an icon via the _NET_WM_ICON hint are
located by searching the icon search path(s) for an icon whose name
(minus the ".xpm" or ".png" extension) matches the instance name of the
window as returned in the WM_CLASS hint. If this lookup fails, a default
icon is supplied. This icon will be displayed for the window on it's title
bar and on the task list. Icons that are not an appropriate size will be
scaled. Square icons work best.
.P
For menu items, the icon path is searched for a match. the icon specified for
a menu item must be the exact name of the icon file with the extension.
If no match is found, a blank area will appear where the icon should appear.
If an icon is not specified for any menu item in a menu, no space will be
allocated for icons.
.P
Zero or more \fBIconPath\fP tags may be specified. The text of this tag is
assumed to be an absolute directory path to a directory containing XPM,
PNG, and/or JPEG icons.
When searching for icons, if multiple paths are provided, they will be
searched in order until a match is made.
Note that icon, PNG, JPEG, and XPM support are compile-time options.
.RE

.B "KEY BINDINGS"
.RS
Keyboard bindings in JWM are specified in \fBKey\fP tags.
Either the \fBkey\fP or \fBkeycode\fP attributes must be specified
to determine which key will cause an action. The optional
attribute, \fBmask\fP, specifies what key mask, if any, must be in effect
for the binding to match. Finally, the text of the \fBKey\fP tag is the
action to perform.
.P
One or more of the following key masks may be specified for \fBmask\fP
(see \fBxmodmap\fP(1)):
.RS
.IP \fBA\fP
The "Alt" key (mod1).
.IP \fBC\fP
Control
.IP \fBS\fP
Shift
.IP \fB1\fP
mod1
.IP \fB2\fP
mod2
.IP \fB3\fP
mod3
.IP \fB4\fP
mod4
.IP \fB5\fP
mod5
.RE
.P
The key specified in the \fBkey\fP attribute must contain a valid key
string for \fBXStringToKeysym\fP(3). These values are usually what one would
expect (for example, the escape key is called "Escape").
.P
Valid actions for a key binding are:
.RS
.IP \fBup\fP
Move up.
.IP \fBdown\fP
Move down.
.IP \fBright\fP
Move right.
.IP \fBleft\fP
Move left.
.IP \fBescape\fP
Stop a move/resize, exit a menu, or cancel an action.
.IP \fBfullscreen\fP
Toggle between fullscreen and not fullscreen.
.IP \fBselect\fP
Make a menu selection or confirm an action.
.IP \fBnext\fP
Move to the next window in the task list.
.IP \fBnextstacked\fP
Move to the next window in the stacking order.
.IP \fBprev\fP
Move to the previous window in the task list.
.IP \fBprevstacked\fP
Move to the previous window in the stacking order.
.IP \fBclose\fP
Close the active window.
.IP \fBminimize\fP
Minimize the active window.
.IP \fBmaximize\fP
Maximize the active window.
.IP \fBmaxv\fP
Maximize the active window vertically.
.IP \fBmaxh\fP
Maximize the active window horizontally.
.IP \fBmaxtop\fP
Maximize the active window to the top of the screen.
.IP \fBmaxbottom\fP
Maximize the active window to the bottom of the screen.
.IP \fBmaxleft\fP
Maximize the active window to the left of the screen.
.IP \fBmaxright\fP
Maximize the active window to the right of the screen.
.IP \fBrestore\fP
Restore a maximized window.
.IP \fBsendl\fP
Send the active window left.
.IP \fBsendr\fP
Send the active window right.
.IP \fBsendu\fP
Send the active window up.
.IP \fBsendd\fP
Send the active window down.
.IP \fBshade\fP
Shade the active window.
.IP \fBstick\fP
Stick/unstick the active window.
.IP \fBmove\fP
Move the active window.
.IP \fBresize\fP
Resize the active window.
.IP \fBroot:\fP\fIn\fP
Show root menu \fIn\fP.
.IP \fBwindow\fP
Show the window menu for the active window.
.IP \fBdesktop#\fP
Switch to a specific desktop. To use this, "#" must be specified in
the key section. The number 1 to the number of desktops configured
are then substituted for "#".
.IP \fBrdesktop\fP
Move one desktop to the right.
.IP \fBldesktop\fP
Move one desktop to the left.
.IP \fBudesktop\fP
Move up one desktop.
.IP \fBddesktop\fP
Move down one desktop.
.IP \fBshowdesktop\fP
Show/hide the desktop (maximize/minimize all windows).
.IP \fBshowtray\fP
Unhide the tray (when using autohide).
.IP \fBexec:\fP\fIcommand\fP
Execute \fIcommand\fP.
.IP \fBrestart\fP
Restart JWM.
.RE
.P
Note that there are no default key bindings.
It is possible to bind multiple key combinations to the same action.
.RE

.B "MOUSE BINDINGS"
.RS
Any button other than the scroll wheel (buttons 4 and 5) on the root
window will bring up the root menu unless otherwise specified via the
\fBonroot\fP attribute of \fBRootMenu\fP. Scrolling up on the root window
switches to the left desktop and scrolling down switches to the right desktop.
.P
Button 1 (typically the left button):
.RS
Over the border, dragging resizes the window.
Over the title bar, dragging moves the window and double clicking toggles
the maximized state.
Over the menu button, clicking shows the menu.
Over the minimize button, clicking minimizes the window.
Over the maximize button, clicking toggles between maximized and normal.
Over the close button, clicking closes the window.
Over a task bar, restores or minimizes the window.
Over a pager, switches the active desktop.
.RE
.P
Button 2 (typically the middle button):
.RS
Over the maximize button, clicking toggles between vertically maximized
and normal.
Anywhere else on a window frame, dragging while holding button 2 will
move the window.
Over a pager, switches the active desktop.
.RE
.P
Button 3 (typically the right button):
.RS
Over the frame, clicking shows the window menu.
On the minimize button, clicking toggles between shaded and unshaded.
On the maximize button, clicking toggles between horizontally maximized
and normal.
On the close button, clicking closes the window.
Over a task bar, shows the window menu.
Over a pager, dragging while holding button 3 will move a window.
.RE
.RE
.P
.RS
Scrolling up over the title bar will shade the window and scrolling down
will unshade the window.
When a menu is open, the scroll wheel will move through menu items.
When over the pager, the scroll wheel will switch desktops.
When over a task list, the scroll wheel will switch windows.
.RE

.B DESKTOPS
.RS
Virtual desktops are controlled with the \fBDesktops\fP tag.
Within this tag the following attribute is supported:
.P
\fBwidth\fP \fIint\fP
.RS
The number of virtual desktops in the horizontal direction.
The default is 4.
.RE
.P
\fBheight\fP \fIint\fP
.RS
The number of virtual desktops in the vertical direction. 
The default is 1.
.RE
.P
Within the \fBDesktops\fP tag the following tags are supported:
.P
.B Background
.RS
The default background for desktops. The \fBtype\fP attribute determines
the type of background and the text contained within this tag is the
value. Valid types are:
.P
.B solid
.RS
A solid color. See the \fBCOLORS\fP section for more information.
This is the default.
.RE
.B gradient
.RS
A gradient color. See the \fBCOLORS\fP section for more information.
.RE
.B image
.RS
A stretched image. This may be an XPM, PNG, or JPEG image. Note that support
for XPM, PNG, and JPEG images must be compiled in and icon support is required.
.RE
.B tile
.RS
A tiled image. Like \fIimage\fP, but the image is tiled instead of stretched.
.RE
.B scale
.RS
A scaled image. Like \fIimage\fP, but the aspect ratio of the image is
preserved.
.RE
.B command
.RS
A command to run for setting the background.
.RE
.RE
.P
.B Desktop
.RS
Desktop-specific data. The \fBname\fP attribute may be specified to name
the desktop (the default is the desktop number). Within this tag a
\fBBackground\fP tag may be specified for a desktop-specific background.
See \fBBackground\fP above for more information.
.RE
.RE

.B "OTHER SETTINGS"
.P
.RS
The following tags may also be supplied:
.P
.B ButtonClose
.RS
An icon to display for the close button on client windows instead of the
default.
.RE
.B ButtonMax
.RS
An icon to display for the maximize button on client windows instead of the
default.
.RE
.B ButtonMaxActive
.RS
An icon to display for the maximize button on maximized client windows instead
of the default.
.RE
.B ButtonMenu
.RS
An icon to display for the menu button on client windows instead of the
default. This is used for client windows that do not specify an icon.
.RE
.B ButtonMin
.RS
An icon to display for the minimize button on client windows instead
of the default.
.RE
.B DefaultIcon
.RS
An icon to display for windows that do not specify an icon.
.RE
.B DoubleClickDelta
.RS
The number of pixels the mouse can move during a double click.
The default is 2. Valid values are between 0 and 32 inclusive.
.RE
.P
.B DoubleClickSpeed
.RS
The maximum number of milliseconds between clicks for a double click.
The default is 400. Valid values are between 1 and 2000 inclusive.
.RE
.P
.B FocusModel
.RS
The focus model to be used. The default is "sloppy". Valid values
are "click" (click to focus) and "sloppy" (focus follows mouse).
.RE
.P
.B MoveMode
.RS
The move mode. The default is "opaque". Valid values are
"opaque" and "outline".
This tag supports the following attributes:
.P
\fBcoordinates\fP { \fBoff\fP | \fBcorner\fP | \fBwindow\fP | \fBscreen\fP }
.RS
The location of the status window. The default is \fBscreen\fP.
.RE
.P
\fBdelay\fP \fIint\fP
.RS
The delay in milliseconds before moving a window to a different desktop.
Setting this to 0 disables dragging windows between desktops.
The default is 1000.
.RE
.RE
.P
.B ResizeMode
.RS
The resize mode. The default is "opaque". Valid values are
"opaque" and "outline". The optional \fBcoordinates\fP attribute
determines the location of the move status window. Possible values are:
This tag supports the following attribute:
.P
\fBcoordinates\fP { \fBoff\fP | \fBcorner\fP | \fBwindow\fP | \fBscreen\fP }
.RS
The location of the status window. The default is \fBscreen\fP.
.RE
.RE
.P
.B SnapMode
.RS
The snap mode. The default is "border". Valid values are
"none" (for no snapping), "screen" (for snapping to the edge of the screen),
and "border" (for snapping to the borders of windows and the screen).
An optional attribute, \fBdistance\fP,
specifies the distance for snapping. The default is 5. Valid values
are between 1 and 32 inclusive.
.RE
.P
.B StartupCommand
.RS
A command to run when JWM starts.
.RE
.P
.B ShutdownCommand
.RS
A command to run when JWM exits.
.RE
.P
.B RestartCommand
.RS
A command to run when JWM restarts.
.RE
.RE
.P

.SH AUTHOR
Joe Wingbermuehle <joewing@joewing.net>

.SH "SEE ALSO"
.BR X (1)