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