dwm.1 (5767B)
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 tiled, monocle 9 and floating layouts. Either layout can be applied dynamically, optimising the 10 environment for the application in use and the task performed. 11 .P 12 In tiled layouts windows are managed in a master and stacking area. The master 13 area on the left contains one window by default, and the stacking area on the 14 right contains all other windows. The number of master area windows can be 15 adjusted from zero to an arbitrary number. In monocle layout all windows are 16 maximised to the screen size. In floating layout windows can be resized and 17 moved freely. Dialog windows are always managed floating, regardless of the 18 layout applied. 19 .P 20 Windows are grouped by tags. Each window can be tagged with one or multiple 21 tags. Selecting certain tags displays all windows with these tags. 22 .P 23 Each screen contains a small status bar which displays all available tags, the 24 layout, the title of the focused window, and the text read from the root window 25 name property, if the screen is focused. A floating window is indicated with an 26 empty square and a maximised floating window is indicated with a filled square 27 before the windows title. The selected tags are indicated with a different 28 color. The tags of the focused window are indicated with a filled square in the 29 top left corner. The tags which are applied to one or more windows are 30 indicated with an empty square in the top left corner. 31 .P 32 dwm draws a small border around windows to indicate the focus state. 33 .SH OPTIONS 34 .TP 35 .B \-v 36 prints version information to stderr, then exits. 37 .SH USAGE 38 .SS Status bar 39 .TP 40 .B X root window name 41 is read and displayed in the status text area. It can be set with the 42 .BR xsetroot (1) 43 command. 44 .TP 45 .B Button1 46 click on a tag label to display all windows with that tag, click on the layout 47 label toggles between tiled and floating layout. 48 .TP 49 .B Button3 50 click on a tag label adds/removes all windows with that tag to/from the view. 51 .TP 52 .B Mod1\-Button1 53 click on a tag label applies that tag to the focused window. 54 .TP 55 .B Mod1\-Button3 56 click on a tag label adds/removes that tag to/from the focused window. 57 .SS Keyboard commands 58 .TP 59 .B Mod1\-Return 60 Start 61 .BR st(1). 62 .TP 63 .B Mod1\-Shift\-Return 64 Toggle scratchpad. 65 .TP 66 .B Mod1\-d 67 Spawn 68 .BR dmenu(1) 69 for launching other programs. 70 .TP 71 .B Mod1\-, 72 Focus previous screen, if any. 73 .TP 74 .B Mod1\-. 75 Focus next screen, if any. 76 .TP 77 .B Mod1\-Shift\-, 78 Send focused window to previous screen, if any. 79 .TP 80 .B Mod1\-Shift\-. 81 Send focused window to next screen, if any. 82 .TP 83 .B Mod1\-Shift\-b 84 Toggles bar on and off. 85 .TP 86 .B Mod1\-t 87 Sets tiled layout. 88 .TP 89 .B Mod1\-Shift\-t 90 Sets bottomstack layout. 91 .TP 92 .B Mod1\-y 93 Sets monocle layout. 94 .TP 95 .B Mod1\-Shift\-y 96 Sets floating layout. 97 .TP 98 .B Mod1-u 99 Sets centermaster layout. 100 .TP 101 .B Mod1\-Shift\-u 102 Sets bottomstack horizontal layout. 103 .TP 104 .B Mod1-r 105 Sets horizontal grid layout. 106 .TP 107 .B Mod1-Shift-r 108 Sets deck layout. 109 .TP 110 .B Mod1-space 111 Cycles to the next layout. 112 .TP 113 .B Mod1-Ctrl-space 114 Cycles to the previous layout. 115 .TP 116 .B Mod1\-f 117 Fullscreens focused window. 118 .TP 119 .B Mod1\-Shift\-f 120 Toggles fake fullscreen mode. 121 .TP 122 .B Mod1\-j 123 Focus next window. 124 .TP 125 .B Mod1\-k 126 Focus previous window. 127 .TP 128 .B Mod1\-i 129 Increase number of windows in master area. 130 .TP 131 .B Mod1\-Shift\-i 132 Decrease number of windows in master area. 133 .TP 134 .B Mod1\-l 135 Increase master area size. 136 .TP 137 .B Mod1\-h 138 Decrease master area size. 139 .TP 140 .B Mod1-z 141 Increases gaps. 142 .TP 143 .B Mod1-Shift-z 144 Decreases gaps. 145 .TP 146 .B Mod1-x 147 Increases outer gaps. 148 .TP 149 .B Mod1-Shift-x 150 Decreases outer gaps. 151 .TP 152 .B Mod1-s 153 Increases inner gaps. 154 .TP 155 .B Mod1-Shift-s 156 Decreases inner gaps. 157 .TP 158 .B Super-0 159 Toggles gaps. 160 .TP 161 .B Super-Shift-0 162 Reset gaps to default size. 163 .TP 164 .B Mod1-w 165 Zooms/cycles focused window to/from master area (tiled layouts only). 166 .TP 167 .B Mod1\-Shift\-c 168 Close focused window. 169 .TP 170 .B Mod1\-Shift\-space 171 Toggle focused window between tiled and floating state. 172 .TP 173 .B Mod1\-Tab 174 Toggles to the previously selected tags. 175 .TP 176 .B Mod1\-Shift\-[1..n] 177 Apply nth tag to focused window. 178 .TP 179 .B Mod1\-Shift\-0 180 Apply all tags to focused window. 181 .TP 182 .B Mod1\-Control\-Shift\-[1..n] 183 Add/remove nth tag to/from focused window. 184 .TP 185 .B Mod1\-[1..n] 186 View all windows with nth tag. 187 .TP 188 .B Mod1\-0 189 View all windows with any tag. 190 .TP 191 .B Mod1\-Control\-[1..n] 192 Add/remove all windows with nth tag to/from the view. 193 .TP 194 .B Mod1\-Shift\-q 195 Quit dwm. 196 .SS Mouse commands 197 .TP 198 .B Mod1\-Button1 199 Move focused window while dragging. Tiled windows will be toggled to the floating state. 200 .TP 201 .B Mod1\-Button2 202 Toggles focused window between floating and tiled state. 203 .TP 204 .B Mod1\-Button3 205 Resize focused window while dragging. Tiled windows will be toggled to the floating state. 206 .SH CUSTOMIZATION 207 dwm is customized by creating a custom config.h and (re)compiling the source 208 code. This keeps it fast, secure and simple. 209 .SH SEE ALSO 210 .BR dmenu (1), 211 .BR st (1) 212 .SH ISSUES 213 Java applications which use the XToolkit/XAWT backend may draw grey windows 214 only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early 215 JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds 216 are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the 217 environment variable 218 .BR AWT_TOOLKIT=MToolkit 219 (to use the older Motif backend instead) or running 220 .B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D 221 or 222 .B wmname LG3D 223 (to pretend that a non-reparenting window manager is running that the 224 XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable 225 .BR _JAVA_AWT_WM_NONREPARENTING=1 . 226 .SH BUGS 227 Send all bug reports with a patch to hackers@suckless.org.