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.

144 lines
4.0 KiB

18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 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. 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 window which currently needs 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 selected.
  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 1-pixel border around windows to indicate the focus state.
  29. Unfocused windows contain a small bar in front of them displaying their title.
  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 mode
  42. label toggles between tiling and floating mode.
  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 Mod1-Button1
  48. click on a tag label applies that tag to the focused window.
  49. .TP
  50. .B Mod1-Button3
  51. click on a tag label adds/removes that tag to/from the focused window.
  52. .SS Keyboard commands
  53. .TP
  54. .B Mod1-Shift-Return
  55. Start
  56. .BR xterm (1).
  57. .TP
  58. .B Mod1-Tab
  59. Focus next window.
  60. .TP
  61. .B Mod1-Shift-Tab
  62. Focus previous window.
  63. .TP
  64. .B Mod1-Return
  65. Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
  66. .TP
  67. .B Mod1-g
  68. Grow master area (tiling mode only).
  69. .TP
  70. .B Mod1-s
  71. Shrink master area (tiling mode only).
  72. .TP
  73. .B Mod1-plus
  74. Increase clients of master area (tiling mode only).
  75. .TP
  76. .B Mod1-minus
  77. Decrease clients of master area (tiling mode only).
  78. .TP
  79. .B Mod1-Shift-[1..n]
  80. Apply
  81. .RB nth
  82. tag to current window.
  83. .TP
  84. .B Mod1-Shift-0
  85. Apply all tags to current window.
  86. .TP
  87. .B Mod1-Control-Shift-[1..n]
  88. Add/remove
  89. .B nth
  90. tag to/from current window.
  91. .TP
  92. .B Mod1-Shift-c
  93. Close focused window.
  94. .TP
  95. .B Mod1-space
  96. Toggle between tiling and floating mode (affects all windows).
  97. .TP
  98. .B Mod1-Shift-space
  99. Toggle focused window between floating and non-floating state (tiling mode only).
  100. .TP
  101. .B Mod1-[1..n]
  102. View all windows with
  103. .BR nth
  104. tag.
  105. .TP
  106. .B Mod1-0
  107. View all windows with any tag.
  108. .TP
  109. .B Mod1-Control-[1..n]
  110. Add/remove all windows with
  111. .BR nth
  112. tag to/from the view.
  113. .TP
  114. .B Mod1-Shift-q
  115. Quit dwm.
  116. .SS Mouse commands
  117. .TP
  118. .B Mod1-Button1
  119. Move current window while dragging (floating mode only).
  120. .TP
  121. .B Mod1-Button2
  122. Zoom current window to the master area (tiling mode only).
  123. .TP
  124. .B Mod1-Button3
  125. Resize current window while dragging (floating mode only).
  126. .SH CUSTOMIZATION
  127. dwm is customized by creating a custom config.h and (re)compiling the source
  128. code. This keeps it fast, secure and simple.
  129. .SH CAVEATS
  130. The status bar may display
  131. .BR "EOF"
  132. when dwm has been started by an X session manager like
  133. .BR xdm (1),
  134. because those close standard output before executing dwm.
  135. .P
  136. Java applications which use the XToolkit/XAWT backend may draw grey windows
  137. only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
  138. JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
  139. you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
  140. can set the following environment variable (to use the older Motif
  141. backend instead):
  142. .BR AWT_TOOLKIT=MToolkit .
  143. .SH SEE ALSO
  144. .BR dmenu (1)