JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
small man page fix
[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 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 column. The master
13 column contains the window which currently needs most attention, whereas the
14 stacking column 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 selected.
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 highlighted with a different color, the tags of the focused
24 window are highlighted with a small point.
25 .P
26 dwm draws a 1-pixel border around windows to indicate the focus state.
27 Unfocused windows contain a small bar in front of them displaying their title.
28 .SH OPTIONS
29 .TP
30 .B \-v
31 prints version information to standard output, then exits.
32 .SH USAGE
33 .SS Status bar
34 .TP
35 .B Standard input
36 is read and displayed in the status text area.
37 .TP
38 .B Button1
39 click on a tag label to display all windows with that tag, click on the mode
40 label toggles between tiled and floating mode.
41 .TP
42 .B Button3
43 click on a tag label adds/removes all windows with that tag to/from the view.
44 .TP
45 .B Mod1-Button1
46 click on a tag label applies that tag to the focused window.
47 .TP
48 .B Mod1-Button3
49 click on a tag label adds/removes that tag to/from the focused window.
50 .SS Keyboard commands
51 .TP
52 .B Mod1-Shift-Return
53 Start
54 .BR xterm (1).
55 .TP
56 .B Mod1-Tab
57 Focus next window.
58 .TP
59 .B Mod1-Shift-Tab
60 Focus previous window.
61 .TP
62 .B Mod1-Return
63 Zooms/cycles current window to/from master column (tiling mode), toggles maximization (floating mode).
64 .TP
65 .B Mod1-g
66 Grow current column (tiling mode only).
67 .TP
68 .B Mod1-s
69 Shrink current column (tiling mode only).
70 .TP
71 .B Mod1-Shift-[1..n]
72 Apply
73 .RB nth
74 tag to current window.
75 .TP
76 .B Mod1-Control-Shift-[1..n]
77 Add/remove
78 .B nth
79 tag to/from current window.
80 .TP
81 .B Mod1-Shift-c
82 Close focused window.
83 .TP
84 .B Mod1-space
85 Toggle between tiled and floating mode (affects all windows).
86 .TP
87 .B Mod1-[1..n]
88 View all windows with
89 .BR nth
90 tag.
91 .TP
92 .B Mod1-0
93 View all windows with any tag.
94 .TP
95 .B Mod1-Control-[1..n]
96 Add/remove all windows with
97 .BR nth
98 tag to/from the view.
99 .TP
100 .B Mod1-Shift-q
101 Quit dwm.
102 .SS Mouse commands
103 .TP
104 .B Mod1-Button1
105 Move current window while dragging (floating mode only).
106 .TP
107 .B Mod1-Button2
108 Zoom current window to the master column (tiling mode only).
109 .TP
110 .B Mod1-Button3
111 Resize current window while dragging (floating mode only).
112 .SH CUSTOMIZATION
113 dwm is customized by creating a custom config.h and (re)compiling the source
114 code. This keeps it fast, secure and simple.
115 .SH CAVEATS
116 The status bar may display
117 .BR "broken pipe"
118 when dwm has been started by
119 .BR xdm (1),
120 because it closes standard output before executing dwm.
121 .SH SEE ALSO
122 .BR dmenu (1)