dwm.1 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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.
  9. .P
  10. dwm "orders" windows based on recency and primacy, while dwm layouts may
  11. change, the most recent "master" window is shown in the most prominent
  12. position. There are bindings for cycling through and promoting windows to the
  13. master position.
  14. .P
  15. Windows are grouped by tags. Each window can be tagged with one or multiple
  16. tags. Selecting certain tags displays all windows with these tags.
  17. .P
  18. Each screen contains a small status bar which displays all available tags, the
  19. layout, the title of the focused window, and the text read from the root window
  20. name property, if the screen is focused. A floating window is indicated with an
  21. empty square and a maximised floating window is indicated with a filled square
  22. before the windows title. The selected tags are indicated with a different
  23. color. The tags of the focused window are indicated with a filled square in the
  24. top left corner. The tags which are applied to one or more windows are
  25. indicated with an empty square in the top left corner.
  26. .P
  27. dwm draws a small border around windows to indicate the focus state.
  28. .P
  29. .I
  30. libxft-bgra
  31. should be installed for this build of dwm. Arch users may install it via the
  32. AUR. Color characters and emoji are enabled, but these will cause crashes
  33. without the fix
  34. .I
  35. libxft-bgra
  36. offers.
  37. .SH OPTIONS
  38. .TP
  39. .B \-v
  40. prints version information to standard output, then exits.
  41. .SH USAGE
  42. .SS Status bar
  43. .TP
  44. .B X root window name
  45. is read and displayed in the status text area. It can be set with the
  46. .BR xsetroot (1)
  47. command.
  48. .TP
  49. .B Left click
  50. click on a tag label to display all windows with that tag, click on the layout
  51. label toggles between tiled and floating layout.
  52. .TP
  53. .B Right click
  54. click on a tag label adds/removes all windows with that tag to/from the view.
  55. .TP
  56. .B Super\-Left click
  57. click on a tag label applies that tag to the focused window.
  58. .TP
  59. .B Super\-Right click
  60. click on a tag label adds/removes that tag to/from the focused window.
  61. .SS Keyboard commands
  62. .TP
  63. .B Super\-Return
  64. Start terminal,
  65. .BR st(1).
  66. .TP
  67. .B Super\-d
  68. Spawn
  69. .BR dmenu(1)
  70. for launching other programs.
  71. .TP
  72. .B Super\-b
  73. Toggles bar on and off.
  74. .TP
  75. .B Super\-q
  76. Close focused window.
  77. .TP
  78. .B Super\-t/T
  79. Sets tiled/bstack layouts.
  80. .TP
  81. .B Super\-f
  82. Toggle fullscreen window.
  83. .TP
  84. .B Super\-F
  85. Toggle floating layout.
  86. .TP
  87. .B Super\-u/U
  88. Sets centered master layout.
  89. .TP
  90. .B Super\-i/I
  91. Sets centered master or floating master layouts.
  92. .TP
  93. .B Super\-space
  94. Zooms/cycles focused window to/from master area.
  95. .TP
  96. .B Super\-j/k
  97. Focus next/previous window.
  98. .TP
  99. .B Super\-Shift\-j/k
  100. Move selected window down/up in stack.
  101. .TP
  102. .B Super\-o/O
  103. Increase/decrease number of windows in master area.
  104. .TP
  105. .B Super\-l
  106. Increase master area size.
  107. .TP
  108. .B Super\-h
  109. Decrease master area size.
  110. .TP
  111. .B Super\-Shift\-space
  112. Toggle focused window between tiled and floating state.
  113. .TP
  114. .B Super\-Tab
  115. Toggles to the previously selected tags.
  116. .TP
  117. .B Super\-Shift\-[1..n]
  118. Apply nth tag to focused window.
  119. .TP
  120. .B Super\-Shift\-0
  121. Apply all tags to focused window.
  122. .TP
  123. .B Super\-Control\-Shift\-[1..n]
  124. Add/remove nth tag to/from focused window.
  125. .TP
  126. .B Super\-[1..n]
  127. View all windows with nth tag.
  128. .TP
  129. .B Super\-0
  130. View all windows with any tag.
  131. .TP
  132. .B Super\-Control\-[1..n]
  133. Add/remove all windows with nth tag to/from the view.
  134. .TP
  135. .B Super\-Shift\-q
  136. Quit dwm.
  137. .TP
  138. .B Mod1\-Control\-Shift\-q
  139. Menu to refresh/quit/reboot/shutdown.
  140. .SS Mouse commands
  141. .TP
  142. .B Super\-Left click
  143. Move focused window while dragging. Tiled windows will be toggled to the floating state.
  144. .TP
  145. .B Super\-Middle click
  146. Toggles focused window between floating and tiled state.
  147. .TP
  148. .B Super\-Right click
  149. Resize focused window while dragging. Tiled windows will be toggled to the floating state.
  150. .SH CUSTOMIZATION
  151. dwm is customized by creating a custom config.h and (re)compiling the source
  152. code. This keeps it fast, secure and simple.
  153. .SH SIGNALS
  154. .TP
  155. .B SIGHUP - 1
  156. Restart the dwm process.
  157. .TP
  158. .B SIGTERM - 15
  159. Cleanly terminate the dwm process.
  160. .SH SEE ALSO
  161. .BR dmenu (1),
  162. .BR st (1)
  163. .SH ISSUES
  164. Java applications which use the XToolkit/XAWT backend may draw grey windows
  165. only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
  166. JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds
  167. are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the
  168. environment variable
  169. .BR AWT_TOOLKIT=MToolkit
  170. (to use the older Motif backend instead) or running
  171. .B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D
  172. or
  173. .B wmname LG3D
  174. (to pretend that a non-reparenting window manager is running that the
  175. XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable
  176. .BR _JAVA_AWT_WM_NONREPARENTING=1 .
  177. .SH BUGS
  178. Send all bug reports with a patch to hackers@suckless.org.