rev |
line source |
arg@212
|
1 .TH DWM 1 dwm-VERSION
|
garbeam@0
|
2 .SH NAME
|
garbeam@39
|
3 dwm \- dynamic window manager
|
garbeam@0
|
4 .SH SYNOPSIS
|
garbeam@38
|
5 .B dwm
|
garbeam@0
|
6 .RB [ \-v ]
|
garbeam@0
|
7 .SH DESCRIPTION
|
arg@445
|
8 dwm is a dynamic window manager for X. It manages windows in tiling and
|
arg@445
|
9 floating modes. Either mode can be applied dynamically, optimizing the
|
arg@445
|
10 environment for the application in use and the task performed.
|
garbeam@79
|
11 .P
|
arg@504
|
12 In tiling mode windows are managed in a master and stacking area. The master
|
arg@657
|
13 area contains the windows which currently need most attention, whereas the
|
arg@504
|
14 stacking area contains all other windows. In floating mode windows can be
|
arg@174
|
15 resized and moved freely. Dialog windows are always managed floating,
|
arg@174
|
16 regardless of the mode selected.
|
garbeam@80
|
17 .P
|
arg@174
|
18 Windows are grouped by tags. Each window can be tagged with one or multiple
|
arg@470
|
19 tags. Selecting certain tags displays all windows with these tags.
|
garbeam@79
|
20 .P
|
arg@445
|
21 dwm contains a small status bar which displays all available tags, the mode,
|
arg@445
|
22 the title of the focused window, and the text read from standard input. The
|
arg@575
|
23 selected tags are indicated with a different color. The tags of the focused
|
arg@606
|
24 window are indicated with a filled square in the top left corner. The tags
|
arg@625
|
25 which are applied to one or more windows are indicated with an empty square in
|
arg@606
|
26 the top left corner.
|
arg@316
|
27 .P
|
arg@445
|
28 dwm draws a 1-pixel border around windows to indicate the focus state.
|
arg@342
|
29 Unfocused windows contain a small bar in front of them displaying their title.
|
garbeam@80
|
30 .SH OPTIONS
|
garbeam@0
|
31 .TP
|
garbeam@0
|
32 .B \-v
|
garbeam@80
|
33 prints version information to standard output, then exits.
|
garbeam@82
|
34 .SH USAGE
|
arg@256
|
35 .SS Status bar
|
arg@256
|
36 .TP
|
arg@259
|
37 .B Standard input
|
arg@259
|
38 is read and displayed in the status text area.
|
arg@256
|
39 .TP
|
arg@288
|
40 .B Button1
|
arg@449
|
41 click on a tag label to display all windows with that tag, click on the mode
|
arg@525
|
42 label toggles between tiling and floating mode.
|
arg@262
|
43 .TP
|
arg@270
|
44 .B Button3
|
arg@530
|
45 click on a tag label adds/removes all windows with that tag to/from the view.
|
arg@398
|
46 .TP
|
arg@398
|
47 .B Mod1-Button1
|
arg@445
|
48 click on a tag label applies that tag to the focused window.
|
arg@398
|
49 .TP
|
arg@398
|
50 .B Mod1-Button3
|
arg@445
|
51 click on a tag label adds/removes that tag to/from the focused window.
|
arg@256
|
52 .SS Keyboard commands
|
garbeam@55
|
53 .TP
|
arg@293
|
54 .B Mod1-Shift-Return
|
arg@293
|
55 Start
|
arg@293
|
56 .BR xterm (1).
|
arg@293
|
57 .TP
|
arg@293
|
58 .B Mod1-Tab
|
arg@445
|
59 Focus next window.
|
arg@293
|
60 .TP
|
arg@293
|
61 .B Mod1-Shift-Tab
|
arg@445
|
62 Focus previous window.
|
arg@293
|
63 .TP
|
garbeam@55
|
64 .B Mod1-Return
|
arg@504
|
65 Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
|
arg@477
|
66 .TP
|
arg@415
|
67 .B Mod1-g
|
arg@558
|
68 Grow master area (tiling mode only).
|
arg@415
|
69 .TP
|
arg@421
|
70 .B Mod1-s
|
arg@558
|
71 Shrink master area (tiling mode only).
|
arg@421
|
72 .TP
|
arg@655
|
73 .B Mod1-i
|
arg@657
|
74 Increase windows of master area (tiling mode only).
|
arg@651
|
75 .TP
|
arg@655
|
76 .B Mod1-d
|
arg@657
|
77 Decrease windows of master area (tiling mode only).
|
arg@651
|
78 .TP
|
arg@396
|
79 .B Mod1-Shift-[1..n]
|
arg@293
|
80 Apply
|
arg@445
|
81 .RB nth
|
arg@445
|
82 tag to current window.
|
arg@293
|
83 .TP
|
arg@594
|
84 .B Mod1-Shift-0
|
arg@594
|
85 Apply all tags to current window.
|
arg@594
|
86 .TP
|
arg@396
|
87 .B Mod1-Control-Shift-[1..n]
|
arg@293
|
88 Add/remove
|
arg@445
|
89 .B nth
|
arg@445
|
90 tag to/from current window.
|
arg@293
|
91 .TP
|
arg@293
|
92 .B Mod1-Shift-c
|
arg@445
|
93 Close focused window.
|
garbeam@55
|
94 .TP
|
garbeam@55
|
95 .B Mod1-space
|
arg@525
|
96 Toggle between tiling and floating mode (affects all windows).
|
garbeam@56
|
97 .TP
|
arg@585
|
98 .B Mod1-Shift-space
|
arg@592
|
99 Toggle focused window between floating and non-floating state (tiling mode only).
|
arg@585
|
100 .TP
|
arg@396
|
101 .B Mod1-[1..n]
|
arg@293
|
102 View all windows with
|
arg@445
|
103 .BR nth
|
arg@445
|
104 tag.
|
garbeam@56
|
105 .TP
|
arg@396
|
106 .B Mod1-0
|
arg@445
|
107 View all windows with any tag.
|
arg@395
|
108 .TP
|
arg@396
|
109 .B Mod1-Control-[1..n]
|
arg@288
|
110 Add/remove all windows with
|
arg@445
|
111 .BR nth
|
arg@445
|
112 tag to/from the view.
|
arg@264
|
113 .TP
|
arg@293
|
114 .B Mod1-Shift-q
|
arg@445
|
115 Quit dwm.
|
arg@256
|
116 .SS Mouse commands
|
garbeam@82
|
117 .TP
|
garbeam@59
|
118 .B Mod1-Button1
|
arg@445
|
119 Move current window while dragging (floating mode only).
|
garbeam@59
|
120 .TP
|
arg@238
|
121 .B Mod1-Button2
|
arg@504
|
122 Zoom current window to the master area (tiling mode only).
|
arg@238
|
123 .TP
|
garbeam@59
|
124 .B Mod1-Button3
|
arg@445
|
125 Resize current window while dragging (floating mode only).
|
garbeam@82
|
126 .SH CUSTOMIZATION
|
arg@445
|
127 dwm is customized by creating a custom config.h and (re)compiling the source
|
arg@174
|
128 code. This keeps it fast, secure and simple.
|
arg@264
|
129 .SH CAVEATS
|
arg@347
|
130 The status bar may display
|
arg@633
|
131 .BR "EOF"
|
arg@632
|
132 when dwm has been started by an X session manager like
|
arg@264
|
133 .BR xdm (1),
|
arg@632
|
134 because those close standard output before executing dwm.
|
arg@632
|
135 .P
|
arg@632
|
136 Java applications which use the XToolkit/XAWT backend may draw grey windows
|
arg@632
|
137 only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
|
arg@634
|
138 JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
|
arg@634
|
139 you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
|
arg@634
|
140 can set the following environment variable (to use the older Motif
|
arg@632
|
141 backend instead):
|
arg@632
|
142 .BR AWT_TOOLKIT=MToolkit .
|
arg@201
|
143 .SH SEE ALSO
|
arg@201
|
144 .BR dmenu (1)
|