diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-03-12 15:34:36 +0000 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-03-12 15:34:36 +0000 |
| commit | d05d09b205e1f1b045cf8da7f0b83a2bee100be6 (patch) | |
| tree | 86e045975a0c48d8639e9621ddb77dc635a360ea | |
| parent | added bx, by, bw, wx, wy, ww, wh, mx, my, mw, mh, mox, moy, mow, moh, tx, ty,... (diff) | |
| download | dwm-d05d09b205e1f1b045cf8da7f0b83a2bee100be6.tar.gz dwm-d05d09b205e1f1b045cf8da7f0b83a2bee100be6.zip | |
updated dwm(1)
Diffstat (limited to '')
| -rw-r--r-- | dwm.1 | 48 | ||||
| -rw-r--r-- | dwm.c | 2 |
2 files changed, 24 insertions, 26 deletions
| @@ -9,7 +9,7 @@ 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 | 9 | and floating layouts. Either layout can be applied dynamically, optimising 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 tiled layout windows are managed in a master and stacking area. The master | 12 | In tiled layouts windows are managed in a master and stacking area. The master |
| 13 | area contains the window which currently needs most attention, whereas the | 13 | area contains the window which currently needs most attention, whereas the |
| 14 | stacking area contains all other windows. In monocle layout all windows are | 14 | stacking area contains all other windows. In monocle layout all windows are |
| 15 | maximised to the screen size. In floating layout windows can be resized and | 15 | maximised to the screen size. In floating layout windows can be resized and |
| @@ -57,23 +57,17 @@ click on a tag label adds/removes that tag to/from the focused window. | |||
| 57 | Start | 57 | Start |
| 58 | .BR xterm. | 58 | .BR xterm. |
| 59 | .TP | 59 | .TP |
| 60 | .B Mod1\-Return | ||
| 61 | Zooms/cycles current window to/from master area (tiled layout only). | ||
| 62 | .TP | ||
| 63 | .B Mod1\-Tab | ||
| 64 | Toggles to the previously selected tags. | ||
| 65 | .TP | ||
| 66 | .B Mod1\-f | 60 | .B Mod1\-f |
| 67 | Apply floating layout. | 61 | Applies floating layout. |
| 68 | .TP | 62 | .TP |
| 69 | .B Mod1\-m | 63 | .B Mod1\-m |
| 70 | Apply monocle layout. | 64 | Applies monocle layout. |
| 71 | .TP | 65 | .TP |
| 72 | .B Mod1\-v | 66 | .B Mod1\-v |
| 73 | Apply vertical tiled layout. | 67 | Applies vertical tiled layout. |
| 74 | .TP | 68 | .TP |
| 75 | .B Mod1\-h | 69 | .B Mod1\-h |
| 76 | Apply horizontal tiled layout. | 70 | Applies horizontal tiled layout. |
| 77 | .TP | 71 | .TP |
| 78 | .B Mod1\-j | 72 | .B Mod1\-j |
| 79 | Focus next window. | 73 | Focus next window. |
| @@ -81,27 +75,33 @@ Focus next window. | |||
| 81 | .B Mod1\-k | 75 | .B Mod1\-k |
| 82 | Focus previous window. | 76 | Focus previous window. |
| 83 | .TP | 77 | .TP |
| 78 | .B Mod1\-Return | ||
| 79 | Zooms/cycles focused window to/from master area (tiled layouts only). | ||
| 80 | .TP | ||
| 81 | .B Mod1\-Shift\-c | ||
| 82 | Close focused window. | ||
| 83 | .TP | ||
| 84 | .B Mod1\-Shift\-space | ||
| 85 | Toggle focused window between tiled and floating state. | ||
| 86 | .TP | ||
| 87 | .B Mod1\-Tab | ||
| 88 | Toggles to the previously selected tags. | ||
| 89 | .TP | ||
| 84 | .B Mod1\-r | 90 | .B Mod1\-r |
| 85 | Re-applies tagging rules to all windows. | 91 | Re-applies tagging rules to all windows. |
| 86 | .TP | 92 | .TP |
| 87 | .B Mod1\-Shift\-[1..n] | 93 | .B Mod1\-Shift\-[1..n] |
| 88 | Apply | 94 | Apply |
| 89 | .RB nth | 95 | .RB nth |
| 90 | tag to current window. | 96 | tag to focused window. |
| 91 | .TP | 97 | .TP |
| 92 | .B Mod1\-Shift\-0 | 98 | .B Mod1\-Shift\-0 |
| 93 | Apply all tags to current window. | 99 | Apply all tags to focused window. |
| 94 | .TP | 100 | .TP |
| 95 | .B Mod1\-Control\-Shift\-[1..n] | 101 | .B Mod1\-Control\-Shift\-[1..n] |
| 96 | Add/remove | 102 | Add/remove |
| 97 | .B nth | 103 | .B nth |
| 98 | tag to/from current window. | 104 | tag to/from focused window. |
| 99 | .TP | ||
| 100 | .B Mod1\-Shift\-c | ||
| 101 | Close focused window. | ||
| 102 | .TP | ||
| 103 | .B Mod1\-Shift\-space | ||
| 104 | Toggle focused window between tiled and floating state. | ||
| 105 | .TP | 105 | .TP |
| 106 | .B Mod1\-[1..n] | 106 | .B Mod1\-[1..n] |
| 107 | View all windows with | 107 | View all windows with |
| @@ -121,13 +121,13 @@ 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. Tiled windows will be toggled to the floating state. | 124 | Move focused window while dragging. Tiled windows will be toggled to the floating state. |
| 125 | .TP | 125 | .TP |
| 126 | .B Mod1\-Button2 | 126 | .B Mod1\-Button2 |
| 127 | Zooms/cycles current window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead. | 127 | Zooms/cycles focused window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead. |
| 128 | .TP | 128 | .TP |
| 129 | .B Mod1\-Button3 | 129 | .B Mod1\-Button3 |
| 130 | Resize current window while dragging. Tiled windows will be toggled to the floating state. | 130 | Resize focused window while dragging. Tiled windows will be toggled to the floating state. |
| 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. |
| @@ -148,7 +148,7 @@ can set the following environment variable (to use the older Motif | |||
| 148 | backend instead): | 148 | backend instead): |
| 149 | .BR AWT_TOOLKIT=MToolkit . | 149 | .BR AWT_TOOLKIT=MToolkit . |
| 150 | .P | 150 | .P |
| 151 | Recent GTK 2.10.9+ versions contain a broken | 151 | GTK 2.10.9+ versions contain a broken |
| 152 | .BR Save\-As | 152 | .BR Save\-As |
| 153 | file dialog implementation, | 153 | file dialog implementation, |
| 154 | which requests to reconfigure its window size in an endless loop. However, its | 154 | which requests to reconfigure its window size in an endless loop. However, its |
| @@ -1491,8 +1491,6 @@ setup(void) { | |||
| 1491 | wa.background_pixmap = ParentRelative; | 1491 | wa.background_pixmap = ParentRelative; |
| 1492 | wa.event_mask = ButtonPressMask|ExposureMask; | 1492 | wa.event_mask = ButtonPressMask|ExposureMask; |
| 1493 | 1493 | ||
| 1494 | |||
| 1495 | |||
| 1496 | barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen), | 1494 | barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen), |
| 1497 | CopyFromParent, DefaultVisual(dpy, screen), | 1495 | CopyFromParent, DefaultVisual(dpy, screen), |
| 1498 | CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa); | 1496 | CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa); |
