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 tiling and floating mode.
41.TP
42.B Button3
43click on a tag label adds/removes all windows with that tag to/from the view,
44click on the mode label toggles the stack position (tiling mode).
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-b
67Toggle stack position (tiling mode only).
68.TP
69.B Mod1-g
70Grow current area (tiling mode only).
71.TP
72.B Mod1-s
73Shrink current area (tiling mode only).
74.TP
75.B Mod1-Shift-[1..n]
76Apply
77.RB nth
78tag 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-[1..n]
92View all windows with
93.BR nth
94tag.
95.TP
96.B Mod1-0
97View all windows with any tag.
98.TP
99.B Mod1-Control-[1..n]
100Add/remove all windows with
101.BR nth
102tag to/from the view.
103.TP
104.B Mod1-Shift-q
105Quit dwm.
106.SS Mouse commands
107.TP
108.B Mod1-Button1
109Move current window while dragging (floating mode only).
110.TP
111.B Mod1-Button2
112Zoom current window to the master area (tiling mode only).
113.TP
114.B Mod1-Button3
115Resize current window while dragging (floating mode only).
116.SH CUSTOMIZATION
117dwm is customized by creating a custom config.h and (re)compiling the source
118code. This keeps it fast, secure and simple.
119.SH CAVEATS
120The status bar may display
121.BR "broken pipe"
122when dwm has been started by
123.BR xdm (1),
124because it closes standard output before executing dwm.
125.SH SEE ALSO
126.BR dmenu (1)