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