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.

126 lines
3.3 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
19 years ago
19 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 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 highlighted with a different color, the tags of the focused
  24. window are highlighted with a small point.
  25. .P
  26. dwm draws a 1-pixel border around windows to indicate the focus state.
  27. Unfocused windows contain a small bar in front of them displaying their title.
  28. .SH OPTIONS
  29. .TP
  30. .B \-v
  31. prints version information to standard output, then exits.
  32. .SH USAGE
  33. .SS Status bar
  34. .TP
  35. .B Standard input
  36. is read and displayed in the status text area.
  37. .TP
  38. .B Button1
  39. click on a tag label to display all windows with that tag, click on the mode
  40. label toggles between tiled and floating mode.
  41. .TP
  42. .B Button3
  43. click on a tag label adds/removes all windows with that tag to/from the view,
  44. click on the mode label toggles the stack position (tiled mode).
  45. .TP
  46. .B Mod1-Button1
  47. click on a tag label applies that tag to the focused window.
  48. .TP
  49. .B Mod1-Button3
  50. click on a tag label adds/removes that tag to/from the focused window.
  51. .SS Keyboard commands
  52. .TP
  53. .B Mod1-Shift-Return
  54. Start
  55. .BR xterm (1).
  56. .TP
  57. .B Mod1-Tab
  58. Focus next window.
  59. .TP
  60. .B Mod1-Shift-Tab
  61. Focus previous window.
  62. .TP
  63. .B Mod1-Return
  64. Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
  65. .TP
  66. .B Mod1-b
  67. Toggle stack position (tiling mode only).
  68. .TP
  69. .B Mod1-g
  70. Grow current area (tiling mode only).
  71. .TP
  72. .B Mod1-s
  73. Shrink current area (tiling mode only).
  74. .TP
  75. .B Mod1-Shift-[1..n]
  76. Apply
  77. .RB nth
  78. tag to current window.
  79. .TP
  80. .B Mod1-Control-Shift-[1..n]
  81. Add/remove
  82. .B nth
  83. tag to/from current window.
  84. .TP
  85. .B Mod1-Shift-c
  86. Close focused window.
  87. .TP
  88. .B Mod1-space
  89. Toggle between tiled and floating mode (affects all windows).
  90. .TP
  91. .B Mod1-[1..n]
  92. View all windows with
  93. .BR nth
  94. tag.
  95. .TP
  96. .B Mod1-0
  97. View all windows with any tag.
  98. .TP
  99. .B Mod1-Control-[1..n]
  100. Add/remove all windows with
  101. .BR nth
  102. tag to/from the view.
  103. .TP
  104. .B Mod1-Shift-q
  105. Quit dwm.
  106. .SS Mouse commands
  107. .TP
  108. .B Mod1-Button1
  109. Move current window while dragging (floating mode only).
  110. .TP
  111. .B Mod1-Button2
  112. Zoom current window to the master area (tiling mode only).
  113. .TP
  114. .B Mod1-Button3
  115. Resize current window while dragging (floating mode only).
  116. .SH CUSTOMIZATION
  117. dwm is customized by creating a custom config.h and (re)compiling the source
  118. code. This keeps it fast, secure and simple.
  119. .SH CAVEATS
  120. The status bar may display
  121. .BR "broken pipe"
  122. when dwm has been started by
  123. .BR xdm (1),
  124. because it closes standard output before executing dwm.
  125. .SH SEE ALSO
  126. .BR dmenu (1)