My dwm build
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.
 
 
 
 
 

195 lines
5.7 KiB

  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 tiled, monocle
  9. and floating layouts. Either layout can be applied dynamically, optimising the
  10. environment for the application in use and the task performed.
  11. .P
  12. In tiled layouts windows are managed in a master and stacking area. The master
  13. area on the left contains one window by default, and the stacking area on the
  14. right contains all other windows. The number of master area windows can be
  15. adjusted from zero to an arbitrary number. In monocle layout all windows are
  16. maximised to the screen size. In floating layout windows can be resized and
  17. moved freely. Dialog windows are always managed floating, regardless of the
  18. layout applied.
  19. .P
  20. Windows are grouped by tags. Each window can be tagged with one or multiple
  21. tags. Selecting certain tags displays all windows with these tags.
  22. .P
  23. Each screen contains two small status bars.
  24. .P
  25. One bar displays all available tags, the layout, the title of the focused
  26. window, and the text read from the root window name property, if the screen is
  27. focused. A floating window is indicated with an empty square and a maximised
  28. floating window is indicated with a filled square before the windows title. The
  29. selected tags are indicated with a different color. The tags of the focused
  30. window are indicated with a filled square in the top left corner. The tags
  31. which are applied to one or more windows are indicated with an empty square in
  32. the top left corner.
  33. .P
  34. Another bar contains a tab for each window of the current view and allows
  35. navigation between windows, especially in the monocle mode. The different
  36. display modes of this bar are described under the Mod1\-w Keybord command
  37. section. When a single tag is selected, that tag is indicated in the left corner
  38. of the tab bar.
  39. .P
  40. dwm draws a small border around windows to indicate the focus state.
  41. .SH OPTIONS
  42. .TP
  43. .B \-v
  44. prints version information to standard output, then exits.
  45. .SH USAGE
  46. .SS Status bar
  47. .TP
  48. .B X root window name
  49. is read and displayed in the status text area. It can be set with the
  50. .BR xsetroot (1)
  51. command.
  52. .TP
  53. .B Button1
  54. click on a tag label to display all windows with that tag, click on the layout
  55. label toggles between tiled and floating layout, click on a window name in the
  56. tab bar brings focus to that window.
  57. .TP
  58. .B Button3
  59. click on a tag label adds/removes all windows with that tag to/from the view.
  60. .TP
  61. .B Mod1\-Button1
  62. click on a tag label applies that tag to the focused window.
  63. .TP
  64. .B Mod1\-Button3
  65. click on a tag label adds/removes that tag to/from the focused window.
  66. .SS Keyboard commands
  67. .TP
  68. .B Mod1\-Shift\-Return
  69. Start
  70. .BR st(1).
  71. .TP
  72. .B Mod1\-p
  73. Spawn
  74. .BR dmenu(1)
  75. for launching other programs.
  76. .TP
  77. .B Mod1\-,
  78. Focus previous screen, if any.
  79. .TP
  80. .B Mod1\-.
  81. Focus next screen, if any.
  82. .TP
  83. .B Mod1\-Shift\-,
  84. Send focused window to previous screen, if any.
  85. .TP
  86. .B Mod1\-Shift\-.
  87. Send focused window to next screen, if any.
  88. .TP
  89. .B Mod1\-b
  90. Toggles bar on and off.
  91. .TP
  92. .B Mod1\-t
  93. Sets tiled layout.
  94. .TP
  95. .B Mod1\-f
  96. Sets floating layout.
  97. .TP
  98. .B Mod1\-m
  99. Sets monocle layout.
  100. .TP
  101. .B Mod1\-space
  102. Toggles between current and previous layout.
  103. .TP
  104. .B Mod1\-j
  105. Focus next window.
  106. .TP
  107. .B Mod1\-k
  108. Focus previous window.
  109. .TP
  110. .B Mod1\-i
  111. Increase number of windows in master area.
  112. .TP
  113. .B Mod1\-d
  114. Decrease number of windows in master area.
  115. .TP
  116. .B Mod1\-l
  117. Increase master area size.
  118. .TP
  119. .B Mod1\-h
  120. Decrease master area size.
  121. .TP
  122. .B Mod1\-w
  123. Cycle over the tab bar display modes: never displayed, always displayed,
  124. displayed only in monocle mode when the view contains than one window (auto
  125. mode). Some display modes can be disabled in the configuration, config.h. In
  126. the default configuration only "never" and "auto" display modes are enabled.
  127. .TP
  128. .B Mod1\-Return
  129. Zooms/cycles focused window to/from master area (tiled layouts only).
  130. .TP
  131. .B Mod1\-Shift\-c
  132. Close focused window.
  133. .TP
  134. .B Mod1\-Shift\-f
  135. Toggle fullscreen for focused window.
  136. .TP
  137. .B Mod1\-Shift\-space
  138. Toggle focused window between tiled and floating state.
  139. .TP
  140. .B Mod1\-Tab
  141. Toggles to the previously selected tags.
  142. .TP
  143. .B Mod1\-Shift\-[1..n]
  144. Apply nth tag to focused window.
  145. .TP
  146. .B Mod1\-Shift\-0
  147. Apply all tags to focused window.
  148. .TP
  149. .B Mod1\-Control\-Shift\-[1..n]
  150. Add/remove nth tag to/from focused window.
  151. .TP
  152. .B Mod1\-[1..n]
  153. View all windows with nth tag.
  154. .TP
  155. .B Mod1\-0
  156. View all windows with any tag.
  157. .TP
  158. .B Mod1\-Control\-[1..n]
  159. Add/remove all windows with nth tag to/from the view.
  160. .TP
  161. .B Mod1\-Shift\-q
  162. Quit dwm.
  163. .SS Mouse commands
  164. .TP
  165. .B Mod1\-Button1
  166. Move focused window while dragging. Tiled windows will be toggled to the floating state.
  167. .TP
  168. .B Mod1\-Button2
  169. Toggles focused window between floating and tiled state.
  170. .TP
  171. .B Mod1\-Button3
  172. Resize focused window while dragging. Tiled windows will be toggled to the floating state.
  173. .SH CUSTOMIZATION
  174. dwm is customized by creating a custom config.h and (re)compiling the source
  175. code. This keeps it fast, secure and simple.
  176. .SH SEE ALSO
  177. .BR dmenu (1),
  178. .BR st (1)
  179. .SH ISSUES
  180. Java applications which use the XToolkit/XAWT backend may draw grey windows
  181. only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
  182. JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds
  183. are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the
  184. environment variable
  185. .BR AWT_TOOLKIT=MToolkit
  186. (to use the older Motif backend instead) or running
  187. .B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D
  188. or
  189. .B wmname LG3D
  190. (to pretend that a non-reparenting window manager is running that the
  191. XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable
  192. .BR _JAVA_AWT_WM_NONREPARENTING=1 .
  193. .SH BUGS
  194. Send all bug reports with a patch to hackers@suckless.org.