You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
4.2 KiB

19 years ago
19 years ago
19 years ago
19 years ago
19 years ago
18 years ago
18 years ago
19 years ago
19 years ago
19 years ago
19 years ago
18 years ago
19 years ago
19 years ago
19 years ago
  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 tiling and
  9. floating modes. Either mode can be applied dynamically, optimizing the
  10. environment for the application in use and the task performed.
  11. .P
  12. In tiling mode windows are managed in a master and stacking area. The master
  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
  15. resized and moved freely. Dialog windows are always managed floating,
  16. regardless of the mode applied.
  17. .P
  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.
  20. .P
  21. dwm contains a small status bar which displays all available tags, the mode,
  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
  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
  26. the top left corner.
  27. .P
  28. dwm draws a small border around windows to indicate the focus state.
  29. .SH OPTIONS
  30. .TP
  31. .B \-v
  32. prints version information to standard output, then exits.
  33. .SH USAGE
  34. .SS Status bar
  35. .TP
  36. .B Standard input
  37. is read and displayed in the status text area.
  38. .TP
  39. .B Button1
  40. click on a tag label to display all windows with that tag, click on the mode
  41. label toggles between tiling and floating mode.
  42. .TP
  43. .B Button3
  44. click on a tag label adds/removes all windows with that tag to/from the view.
  45. .TP
  46. .B Button4
  47. click on the mode label increases the number of windows in the master area (tiling mode only).
  48. .TP
  49. .B Button5
  50. click on the mode label decreases the number of windows in the master area (tiling mode only).
  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-Shift-Return
  60. Start
  61. .BR xterm (1).
  62. .TP
  63. .B Mod1-Tab
  64. Focus next window.
  65. .TP
  66. .B Mod1-Shift-Tab
  67. Focus previous window.
  68. .TP
  69. .B Mod1-Return
  70. Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
  71. .TP
  72. .B Mod1-g
  73. Grow master area (tiling mode only).
  74. .TP
  75. .B Mod1-s
  76. Shrink master area (tiling mode only).
  77. .TP
  78. .B Mod1-i
  79. Increase the number of windows in the master area (tiling mode only).
  80. .TP
  81. .B Mod1-d
  82. Decrease the number of windows in the master area (tiling mode only).
  83. .TP
  84. .B Mod1-Shift-[1..n]
  85. Apply
  86. .RB nth
  87. tag to current window.
  88. .TP
  89. .B Mod1-Shift-0
  90. Apply all tags to current window.
  91. .TP
  92. .B Mod1-Control-Shift-[1..n]
  93. Add/remove
  94. .B nth
  95. tag to/from current window.
  96. .TP
  97. .B Mod1-Shift-c
  98. Close focused window.
  99. .TP
  100. .B Mod1-space
  101. Toggle between tiling and floating mode (affects all windows).
  102. .TP
  103. .B Mod1-Shift-space
  104. Toggle focused window between floating and non-floating state (tiling mode only).
  105. .TP
  106. .B Mod1-[1..n]
  107. View all windows with
  108. .BR nth
  109. tag.
  110. .TP
  111. .B Mod1-0
  112. View all windows with any tag.
  113. .TP
  114. .B Mod1-Control-[1..n]
  115. Add/remove all windows with
  116. .BR nth
  117. tag to/from the view.
  118. .TP
  119. .B Mod1-Shift-q
  120. Quit dwm.
  121. .SS Mouse commands
  122. .TP
  123. .B Mod1-Button1
  124. Move current window while dragging (floating mode only).
  125. .TP
  126. .B Mod1-Button2
  127. Zoom current window to the master area (tiling mode only).
  128. .TP
  129. .B Mod1-Button3
  130. Resize current window while dragging (floating mode only).
  131. .SH CUSTOMIZATION
  132. dwm is customized by creating a custom config.h and (re)compiling the source
  133. code. This keeps it fast, secure and simple.
  134. .SH CAVEATS
  135. The status bar may display
  136. .BR "EOF"
  137. when dwm has been started by an X session manager like
  138. .BR xdm (1),
  139. because those close standard output before executing dwm.
  140. .P
  141. Java applications which use the XToolkit/XAWT backend may draw grey windows
  142. only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
  143. JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
  144. you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
  145. can set the following environment variable (to use the older Motif
  146. backend instead):
  147. .BR AWT_TOOLKIT=MToolkit .
  148. .SH SEE ALSO
  149. .BR dmenu (1)