aewl

view dwm.1 @ 677:a1cabd6c6f9f

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