4 .SH SYNOPSIS |
4 .SH SYNOPSIS |
5 .B dwm |
5 .B dwm |
6 .RB [ \-v ] |
6 .RB [ \-v ] |
7 .SH DESCRIPTION |
7 .SH DESCRIPTION |
8 dwm is a dynamic window manager for X. It manages windows in tiling and |
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 |
9 floating layouts. Either layout can be applied dynamically, optimizing the |
10 environment for the application in use and the task performed. |
10 environment for the application in use and the task performed. |
11 .P |
11 .P |
12 In tiling mode windows are managed in a master and stacking area. The master |
12 In tiling layout windows are managed in a master and stacking area. The master |
13 area contains the windows which currently need most attention, whereas the |
13 area contains the windows which currently need most attention, whereas the |
14 stacking area contains all other windows. In floating mode windows can be |
14 stacking area contains all other windows. In floating layout windows can be |
15 resized and moved freely. Dialog windows are always managed floating, |
15 resized and moved freely. Dialog windows are always managed floating, |
16 regardless of the mode applied. |
16 regardless of the layout applied. |
17 .P |
17 .P |
18 Windows are grouped by tags. Each window can be tagged with one or multiple |
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. |
19 tags. Selecting certain tags displays all windows with these tags. |
20 .P |
20 .P |
21 dwm contains a small status bar which displays all available tags, the mode, |
21 dwm contains a small status bar which displays all available tags, the layout, |
22 the title of the focused window, and the text read from standard input. The |
22 the title of the focused window, and the text read from standard input. The |
23 selected tags are indicated with a different color. The tags of the focused |
23 selected tags are indicated with a different color. The tags of the focused |
24 window are indicated with a filled square in the top left corner. The tags |
24 window are indicated with a filled square in the top left corner. The tags |
25 which are applied to one or more windows are indicated with an empty square in |
25 which are applied to one or more windows are indicated with an empty square in |
26 the top left corner. |
26 the top left corner. |
35 .TP |
35 .TP |
36 .B Standard input |
36 .B Standard input |
37 is read and displayed in the status text area. |
37 is read and displayed in the status text area. |
38 .TP |
38 .TP |
39 .B Button1 |
39 .B Button1 |
40 click on a tag label to display all windows with that tag, click on the mode |
40 click on a tag label to display all windows with that tag, click on the layout |
41 label toggles between tiling and floating mode. |
41 label toggles between tiling and floating layout. |
42 .TP |
42 .TP |
43 .B Button3 |
43 .B Button3 |
44 click on a tag label adds/removes all windows with that tag to/from the view. |
44 click on a tag label adds/removes all windows with that tag to/from the view. |
45 .TP |
45 .TP |
46 .B Button4 |
46 .B Button4 |
47 click on the mode label increases the number of windows in the master area (tiling mode only). |
47 click on the layout label increases the number of windows in the master area (tiling layout only). |
48 .TP |
48 .TP |
49 .B Button5 |
49 .B Button5 |
50 click on the mode label decreases the number of windows in the master area (tiling mode only). |
50 click on the layout label decreases the number of windows in the master area (tiling layout only). |
51 .TP |
51 .TP |
52 .B Mod1-Button1 |
52 .B Mod1-Button1 |
53 click on a tag label applies that tag to the focused window. |
53 click on a tag label applies that tag to the focused window. |
54 .TP |
54 .TP |
55 .B Mod1-Button3 |
55 .B Mod1-Button3 |
65 .TP |
65 .TP |
66 .B Mod1-Shift-Tab |
66 .B Mod1-Shift-Tab |
67 Focus previous window. |
67 Focus previous window. |
68 .TP |
68 .TP |
69 .B Mod1-Return |
69 .B Mod1-Return |
70 Zooms/cycles current window to/from master area (tiling mode), toggles maximization of current window (floating mode). |
70 Zooms/cycles current window to/from master area (tiling layout), toggles maximization of current window (floating layout). |
71 .TP |
71 .TP |
72 .B Mod1-g |
72 .B Mod1-g |
73 Grow master area (tiling mode only). |
73 Grow master area (tiling layout only). |
74 .TP |
74 .TP |
75 .B Mod1-s |
75 .B Mod1-s |
76 Shrink master area (tiling mode only). |
76 Shrink master area (tiling layout only). |
77 .TP |
77 .TP |
78 .B Mod1-i |
78 .B Mod1-i |
79 Increase the number of windows in the master area (tiling mode only). |
79 Increase the number of windows in the master area (tiling layout only). |
80 .TP |
80 .TP |
81 .B Mod1-d |
81 .B Mod1-d |
82 Decrease the number of windows in the master area (tiling mode only). |
82 Decrease the number of windows in the master area (tiling layout only). |
83 .TP |
83 .TP |
84 .B Mod1-Shift-[1..n] |
84 .B Mod1-Shift-[1..n] |
85 Apply |
85 Apply |
86 .RB nth |
86 .RB nth |
87 tag to current window. |
87 tag to current window. |
119 .B Mod1-Shift-q |
119 .B Mod1-Shift-q |
120 Quit dwm. |
120 Quit dwm. |
121 .SS Mouse commands |
121 .SS Mouse commands |
122 .TP |
122 .TP |
123 .B Mod1-Button1 |
123 .B Mod1-Button1 |
124 Move current window while dragging (floating mode only). |
124 Move current window while dragging (floating layout only). |
125 .TP |
125 .TP |
126 .B Mod1-Button2 |
126 .B Mod1-Button2 |
127 Zooms/cycles current window to/from master area (tiling mode), toggles maximization of current window (floating mode). |
127 Zooms/cycles current window to/from master area (tiling layout), toggles maximization of current window (floating layout). |
128 .TP |
128 .TP |
129 .B Mod1-Button3 |
129 .B Mod1-Button3 |
130 Resize current window while dragging (floating mode only). |
130 Resize current window while dragging (floating layout only). |
131 .SH CUSTOMIZATION |
131 .SH CUSTOMIZATION |
132 dwm is customized by creating a custom config.h and (re)compiling the source |
132 dwm is customized by creating a custom config.h and (re)compiling the source |
133 code. This keeps it fast, secure and simple. |
133 code. This keeps it fast, secure and simple. |
134 .SH SEE ALSO |
134 .SH SEE ALSO |
135 .BR dmenu (1) |
135 .BR dmenu (1) |