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