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