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
9versatile layouts. Either layout can be applied dynamically, optimizing the
10environment for the application in use and the task performed.
11.P
12In tiling layout 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 versatile layout windows can be
15resized and moved freely. Dialog windows are always managed versatile,
16regardless of the layout 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 layout,
22the title of the focused window, and the text read from standard input. If
23the focused window is in versatile state, a small caret is printed before
24its title. The selected tags are indicated with a different color. The tags
25of the focused window are indicated with a filled square in the top left
26corner. The tags which are applied to one or more windows are indicated
27with an empty square in the top left corner.
28.P
29dwm draws a small border around windows to indicate the focus state.
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 layout
42label toggles between tiling and versatile layout.
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 layout label increases the number of windows in the master area (tiling layout only).
49.TP
50.B Button5
51click on the layout label decreases the number of windows in the master area (tiling layout 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-j
65Focus next window.
66.TP
67.B Mod1-k
68Focus previous window.
69.TP
70.B Mod1-Return
71Zooms/cycles current window to/from master area (tiling layout only).
72.TP
73.B Mod1-l
74Grow master area (tiling layout only).
75.TP
76.B Mod1-h
77Shrink master area (tiling layout only).
78.TP
79.B Mod1-i
80Increase the number of windows in the master area (tiling layout only).
81.TP
82.B Mod1-d
83Decrease the number of windows in the master area (tiling layout only).
84.TP
85.B Mod1-m
86Toggles maximization of current window (versatile layout only).
87.TP
88.B Mod1-Shift-[1..n]
89Apply
90.RB nth
91tag to current window.
92.TP
93.B Mod1-Shift-0
94Apply all tags to current window.
95.TP
96.B Mod1-Control-Shift-[1..n]
97Add/remove
98.B nth
99tag to/from current window.
100.TP
101.B Mod1-Shift-c
102Close focused window.
103.TP
104.B Mod1-space
105Toggle between tiling and versatile layout (affects all windows).
106.TP
107.B Mod1-Shift-space
108Toggle focused window between versatile and non-versatile state (tiling layout only).
109.TP
110.B Mod1-[1..n]
111View all windows with
112.BR nth
113tag.
114.TP
115.B Mod1-0
116View all windows with any tag.
117.TP
118.B Mod1-Control-[1..n]
119Add/remove all windows with
120.BR nth
121tag to/from the view.
122.TP
123.B Mod1-Shift-q
124Quit dwm.
125.SS Mouse commands
126.TP
127.B Mod1-Button1
128Move current window while dragging (versatile layout only).
129.TP
130.B Mod1-Button2
131Zooms/cycles current window to/from master area (tiling layout only).
132.TP
133.B Mod1-Button3
134Resize current window while dragging (versatile layout only).
135.SH CUSTOMIZATION
136dwm is customized by creating a custom config.h and (re)compiling the source
137code. This keeps it fast, secure and simple.
138.SH SEE ALSO
139.BR dmenu (1)
140.SH BUGS
141The status bar may display
142.BR "EOF"
143when dwm has been started by an X session manager like
144.BR xdm (1),
145because those close standard output before executing dwm.
146.P
147Java applications which use the XToolkit/XAWT backend may draw grey windows
148only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
149JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
150you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
151can set the following environment variable (to use the older Motif
152backend instead):
153.BR AWT_TOOLKIT=MToolkit .