1.TH DWM 1 dwm\-VERSION2.SH NAME3dwm \- dynamic window manager4.SH SYNOPSIS5.B dwm6.RB [ \-v ]7.SH DESCRIPTION8dwm is a dynamic window manager for X. It manages windows in tiled, monocle9and floating layouts. Either layout can be applied dynamically, optimising the10environment for the application in use and the task performed.11.P12In tiled layouts windows are managed in a master and stacking area. The master13area on the left contains one window by default, and the stacking area on the14right contains all other windows. The number of master area windows can be15adjusted from zero to an arbitrary number. In monocle layout all windows are16maximised to the screen size. In floating layout windows can be resized and17moved freely. Dialog windows are always managed floating, regardless of the18layout applied.19.P20Windows are grouped by tags. Each window can be tagged with one or multiple21tags. Selecting certain tags displays all windows with these tags.22.P23Each screen contains a small status bar which displays all available tags, the24layout, the title of the focused window, and the text read from the root window25name property, if the screen is focused. A floating window is indicated with an26empty square and a maximised floating window is indicated with a filled square27before the windows title. The selected tags are indicated with a different28color. The tags of the focused window are indicated with a filled square in the29top left corner. The tags which are applied to one or more windows are30indicated with an empty square in the top left corner.31.P32dwm draws a small border around windows to indicate the focus state.33.SH OPTIONS34.TP35.B \-v36prints version information to stderr, then exits.37.SH USAGE38.SS Status bar39.TP40.B X root window name41is read and displayed in the status text area. It can be set with the42.BR xsetroot (1)43command.44.TP45.B Button146click on a tag label to display all windows with that tag, click on the layout47label toggles between tiled and floating layout.48.TP49.B Button350click on a tag label adds/removes all windows with that tag to/from the view.51.TP52.B Mod1\-Button153click on a tag label applies that tag to the focused window.54.TP55.B Mod1\-Button356click on a tag label adds/removes that tag to/from the focused window.57.SS Keyboard commands58.TP59.B Mod1\-Shift\-Return60Start61.BR st(1).62.TP63.B Mod1\-p64Spawn65.BR dmenu(1)66for launching other programs.67.TP68.B Mod1\-,69Focus previous screen, if any.70.TP71.B Mod1\-.72Focus next screen, if any.73.TP74.B Mod1\-Shift\-,75Send focused window to previous screen, if any.76.TP77.B Mod1\-Shift\-.78Send focused window to next screen, if any.79.TP80.B Mod1\-b81Toggles bar on and off.82.TP83.B Mod1\-t84Sets tiled layout.85.TP86.B Mod1\-f87Sets floating layout.88.TP89.B Mod1\-m90Sets monocle layout.91.TP92.B Mod1\-space93Toggles between current and previous layout.94.TP95.B Mod1\-j96Focus next window.97.TP98.B Mod1\-k99Focus previous window.100.TP101.B Mod1\-i102Increase number of windows in master area.103.TP104.B Mod1\-d105Decrease number of windows in master area.106.TP107.B Mod1\-l108Increase master area size.109.TP110.B Mod1\-h111Decrease master area size.112.TP113.B Mod1\-Return114Zooms/cycles focused window to/from master area (tiled layouts only).115.TP116.B Mod1\-Shift\-c117Close focused window.118.TP119.B Mod1\-Shift\-space120Toggle focused window between tiled and floating state.121.TP122.B Mod1\-Tab123Toggles to the previously selected tags.124.TP125.B Mod1\-Shift\-[1..n]126Apply nth tag to focused window.127.TP128.B Mod1\-Shift\-0129Apply all tags to focused window.130.TP131.B Mod1\-Control\-Shift\-[1..n]132Add/remove nth tag to/from focused window.133.TP134.B Mod1\-[1..n]135View all windows with nth tag.136.TP137.B Mod1\-0138View all windows with any tag.139.TP140.B Mod1\-Control\-[1..n]141Add/remove all windows with nth tag to/from the view.142.TP143.B Mod1\-Shift\-q144Quit dwm.145.SS Mouse commands146.TP147.B Mod1\-Button1148Move focused window while dragging. Tiled windows will be toggled to the floating state.149.TP150.B Mod1\-Button2151Toggles focused window between floating and tiled state.152.TP153.B Mod1\-Button3154Resize focused window while dragging. Tiled windows will be toggled to the floating state.155.SH CUSTOMIZATION156dwm is customized by creating a custom config.h and (re)compiling the source157code. This keeps it fast, secure and simple.158.SH SEE ALSO159.BR dmenu (1),160.BR st (1)161.SH ISSUES162Java applications which use the XToolkit/XAWT backend may draw grey windows163only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early164JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds165are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the166environment variable167.BR AWT_TOOLKIT=MToolkit168(to use the older Motif backend instead) or running169.B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D170or171.B wmname LG3D172(to pretend that a non-reparenting window manager is running that the173XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable174.BR _JAVA_AWT_WM_NONREPARENTING=1 .175.SH BUGS176Send all bug reports with a patch to hackers@suckless.org.