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.

153 lines
4.4 KiB

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