JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
made markups in dwm.1 more consistent
[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 for viewing will display all windows with that
20 tag.
21 .P
22 dwm contains a small status bar which displays all available tags, the mode,
23 the title of the focused window, and the text read from standard input. The
24 selected tags are highlighted with a different color, the tags of the focused
25 window are highlighted with a small point.
26 .P
27 dwm draws a 1-pixel border around windows to indicate the focus state.
28 Unfocused windows contain a small bar in front of them displaying their title.
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 views all windows with that tag, click on the mode label
41 toggles between tiled and floating mode.
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 Mod1-Button1
47 click on a tag label applies that tag to the focused window.
48 .TP
49 .B Mod1-Button3
50 click on a tag label adds/removes that tag to/from the focused window.
51 .SS Keyboard commands
52 .TP
53 .B Mod1-Shift-Return
54 Start
55 .BR xterm (1).
56 .TP
57 .B Mod1-Tab
58 Focus next window.
59 .TP
60 .B Mod1-Shift-Tab
61 Focus previous window.
62 .TP
63 .B Mod1-Return
64 Zoom current window to the master column (tiling mode only).
65 .TP
66 .B Mod1-m
67 Maximize current window.
68 .TP
69 .B Mod1-g
70 Grow current column (tiling mode only).
71 .TP
72 .B Mod1-s
73 Shrink current column (tiling mode only).
74 .TP
75 .B Mod1-Shift-[1..n]
76 Apply
77 .RB nth
78 tag to current window.
79 .TP
80 .B Mod1-Control-Shift-[1..n]
81 Add/remove
82 .B nth
83 tag to/from current window.
84 .TP
85 .B Mod1-Shift-c
86 Close focused window.
87 .TP
88 .B Mod1-space
89 Toggle between tiled and floating mode (affects all windows).
90 .TP
91 .B Mod1-[1..n]
92 View all windows with
93 .BR nth
94 tag.
95 .TP
96 .B Mod1-0
97 View all windows with any tag.
98 .TP
99 .B Mod1-Control-[1..n]
100 Add/remove all windows with
101 .BR nth
102 tag to/from the view.
103 .TP
104 .B Mod1-Shift-q
105 Quit dwm.
106 .SS Mouse commands
107 .TP
108 .B Mod1-Button1
109 Move current window while dragging (floating mode only).
110 .TP
111 .B Mod1-Button2
112 Zoom current window to the master column (tiling mode only).
113 .TP
114 .B Mod1-Button3
115 Resize current window while dragging (floating mode only).
116 .SH CUSTOMIZATION
117 dwm is customized by creating a custom config.h and (re)compiling the source
118 code. This keeps it fast, secure and simple.
119 .SH CAVEATS
120 The status bar may display
121 .BR "broken pipe"
122 when dwm has been started by
123 .BR xdm (1),
124 because it closes standard output before executing dwm.
125 .SH SEE ALSO
126 .BR dmenu (1)