aewl

annotate dwm.1 @ 677:a1cabd6c6f9f

added Button{4,5} description to dwm.1
author Anselm R. Garbe <arg@suckless.org>
date Wed, 10 Jan 2007 12:56:49 +0100
parents 93ebb497c60d
children a76799907854
rev   line source
arg@212 1 .TH DWM 1 dwm-VERSION
garbeam@0 2 .SH NAME
garbeam@39 3 dwm \- dynamic window manager
garbeam@0 4 .SH SYNOPSIS
garbeam@38 5 .B dwm
garbeam@0 6 .RB [ \-v ]
garbeam@0 7 .SH DESCRIPTION
arg@445 8 dwm is a dynamic window manager for X. It manages windows in tiling and
arg@445 9 floating modes. Either mode can be applied dynamically, optimizing the
arg@445 10 environment for the application in use and the task performed.
garbeam@79 11 .P
arg@504 12 In tiling mode windows are managed in a master and stacking area. The master
arg@657 13 area contains the windows which currently need most attention, whereas the
arg@504 14 stacking area contains all other windows. In floating mode windows can be
arg@174 15 resized and moved freely. Dialog windows are always managed floating,
arg@667 16 regardless of the mode applied.
garbeam@80 17 .P
arg@174 18 Windows are grouped by tags. Each window can be tagged with one or multiple
arg@470 19 tags. Selecting certain tags displays all windows with these tags.
garbeam@79 20 .P
arg@445 21 dwm contains a small status bar which displays all available tags, the mode,
arg@445 22 the title of the focused window, and the text read from standard input. The
arg@575 23 selected tags are indicated with a different color. The tags of the focused
arg@606 24 window are indicated with a filled square in the top left corner. The tags
arg@625 25 which are applied to one or more windows are indicated with an empty square in
arg@606 26 the top left corner.
arg@316 27 .P
arg@445 28 dwm draws a 1-pixel border around windows to indicate the focus state.
arg@342 29 Unfocused windows contain a small bar in front of them displaying their title.
garbeam@80 30 .SH OPTIONS
garbeam@0 31 .TP
garbeam@0 32 .B \-v
garbeam@80 33 prints version information to standard output, then exits.
garbeam@82 34 .SH USAGE
arg@256 35 .SS Status bar
arg@256 36 .TP
arg@259 37 .B Standard input
arg@259 38 is read and displayed in the status text area.
arg@256 39 .TP
arg@288 40 .B Button1
arg@449 41 click on a tag label to display all windows with that tag, click on the mode
arg@525 42 label toggles between tiling and floating mode.
arg@262 43 .TP
arg@270 44 .B Button3
arg@530 45 click on a tag label adds/removes all windows with that tag to/from the view.
arg@398 46 .TP
arg@677 47 .B Button4
arg@677 48 click on the mode label increases the number of windows in the master area (tiling mode only).
arg@677 49 .TP
arg@677 50 .B Button5
arg@677 51 click on the mode label decreases the number of windows in the master area (tiling mode only).
arg@677 52 .TP
arg@398 53 .B Mod1-Button1
arg@445 54 click on a tag label applies that tag to the focused window.
arg@398 55 .TP
arg@398 56 .B Mod1-Button3
arg@445 57 click on a tag label adds/removes that tag to/from the focused window.
arg@256 58 .SS Keyboard commands
garbeam@55 59 .TP
arg@293 60 .B Mod1-Shift-Return
arg@293 61 Start
arg@293 62 .BR xterm (1).
arg@293 63 .TP
arg@293 64 .B Mod1-Tab
arg@445 65 Focus next window.
arg@293 66 .TP
arg@293 67 .B Mod1-Shift-Tab
arg@445 68 Focus previous window.
arg@293 69 .TP
garbeam@55 70 .B Mod1-Return
arg@504 71 Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
arg@477 72 .TP
arg@415 73 .B Mod1-g
arg@558 74 Grow master area (tiling mode only).
arg@415 75 .TP
arg@421 76 .B Mod1-s
arg@558 77 Shrink master area (tiling mode only).
arg@421 78 .TP
arg@655 79 .B Mod1-i
arg@668 80 Increase the number of windows in the master area (tiling mode only).
arg@651 81 .TP
arg@655 82 .B Mod1-d
arg@668 83 Decrease the number of windows in the master area (tiling mode only).
arg@651 84 .TP
arg@396 85 .B Mod1-Shift-[1..n]
arg@293 86 Apply
arg@445 87 .RB nth
arg@445 88 tag to current window.
arg@293 89 .TP
arg@594 90 .B Mod1-Shift-0
arg@594 91 Apply all tags to current window.
arg@594 92 .TP
arg@396 93 .B Mod1-Control-Shift-[1..n]
arg@293 94 Add/remove
arg@445 95 .B nth
arg@445 96 tag to/from current window.
arg@293 97 .TP
arg@293 98 .B Mod1-Shift-c
arg@445 99 Close focused window.
garbeam@55 100 .TP
garbeam@55 101 .B Mod1-space
arg@525 102 Toggle between tiling and floating mode (affects all windows).
garbeam@56 103 .TP
arg@585 104 .B Mod1-Shift-space
arg@592 105 Toggle focused window between floating and non-floating state (tiling mode only).
arg@585 106 .TP
arg@396 107 .B Mod1-[1..n]
arg@293 108 View all windows with
arg@445 109 .BR nth
arg@445 110 tag.
garbeam@56 111 .TP
arg@396 112 .B Mod1-0
arg@445 113 View all windows with any tag.
arg@395 114 .TP
arg@396 115 .B Mod1-Control-[1..n]
arg@288 116 Add/remove all windows with
arg@445 117 .BR nth
arg@445 118 tag to/from the view.
arg@264 119 .TP
arg@293 120 .B Mod1-Shift-q
arg@445 121 Quit dwm.
arg@256 122 .SS Mouse commands
garbeam@82 123 .TP
garbeam@59 124 .B Mod1-Button1
arg@445 125 Move current window while dragging (floating mode only).
garbeam@59 126 .TP
arg@238 127 .B Mod1-Button2
arg@504 128 Zoom current window to the master area (tiling mode only).
arg@238 129 .TP
garbeam@59 130 .B Mod1-Button3
arg@445 131 Resize current window while dragging (floating mode only).
garbeam@82 132 .SH CUSTOMIZATION
arg@445 133 dwm is customized by creating a custom config.h and (re)compiling the source
arg@174 134 code. This keeps it fast, secure and simple.
arg@264 135 .SH CAVEATS
arg@347 136 The status bar may display
arg@633 137 .BR "EOF"
arg@632 138 when dwm has been started by an X session manager like
arg@264 139 .BR xdm (1),
arg@632 140 because those close standard output before executing dwm.
arg@632 141 .P
arg@632 142 Java applications which use the XToolkit/XAWT backend may draw grey windows
arg@632 143 only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
arg@634 144 JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
arg@634 145 you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
arg@634 146 can set the following environment variable (to use the older Motif
arg@632 147 backend instead):
arg@632 148 .BR AWT_TOOLKIT=MToolkit .
arg@201 149 .SH SEE ALSO
arg@201 150 .BR dmenu (1)