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 window which currently needs 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 selected.
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 Mod1-Button1
48click on a tag label applies that tag to the focused window.
49.TP
50.B Mod1-Button3
51click on a tag label adds/removes that tag to/from the focused window.
52.SS Keyboard commands
53.TP
54.B Mod1-Shift-Return
55Start
56.BR xterm (1).
57.TP
58.B Mod1-Tab
59Focus next window.
60.TP
61.B Mod1-Shift-Tab
62Focus previous window.
63.TP
64.B Mod1-Return
65Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
66.TP
67.B Mod1-g
68Grow master area (tiling mode only).
69.TP
70.B Mod1-s
71Shrink master area (tiling mode only).
72.TP
73.B Mod1-Shift-[1..n]
74Apply
75.RB nth
76tag to current window.
77.TP
78.B Mod1-Shift-0
79Apply all tags to current window.
80.TP
81.B Mod1-Control-Shift-[1..n]
82Add/remove
83.B nth
84tag to/from current window.
85.TP
86.B Mod1-Shift-c
87Close focused window.
88.TP
89.B Mod1-space
90Toggle between tiling and floating mode (affects all windows).
91.TP
92.B Mod1-Shift-space
93Toggle focused window between floating and non-floating state (tiling mode only).
94.TP
95.B Mod1-[1..n]
96View all windows with
97.BR nth
98tag.
99.TP
100.B Mod1-0
101View all windows with any tag.
102.TP
103.B Mod1-Control-[1..n]
104Add/remove all windows with
105.BR nth
106tag to/from the view.
107.TP
108.B Mod1-Shift-q
109Quit dwm.
110.SS Mouse commands
111.TP
112.B Mod1-Button1
113Move current window while dragging (floating mode only).
114.TP
115.B Mod1-Button2
116Zoom current window to the master area (tiling mode only).
117.TP
118.B Mod1-Button3
119Resize current window while dragging (floating mode only).
120.SH CUSTOMIZATION
121dwm is customized by creating a custom config.h and (re)compiling the source
122code. This keeps it fast, secure and simple.
123.SH CAVEATS
124The status bar may display
125.BR "EOF"
126when dwm has been started by an X session manager like
127.BR xdm (1),
128because those close standard output before executing dwm.
129.P
130Java applications which use the XToolkit/XAWT backend may draw grey windows
131only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
132JDK 1.6 versions, because it assumes a reparenting window manager. As workaround
133wether you use JDK 1.4 (which don't contains the XToolkit/XAWT backend) or you
134define the following environment variable accordingly (to use the older Motif
135backend instead):
136.BR AWT_TOOLKIT=MToolkit .
137.SH SEE ALSO
138.BR dmenu (1)