suckless/dwm

dwm.1 in master
Repositories | Summary | Log | Files | README | LICENSE

dwm.1 (6033B) download


  1.TH DWM 1 dwm\-VERSION
  2.SH NAME
  3dwm \- dynamic window manager
  4.SH SYNOPSIS
  5.B dwm
  6.RB [ \-v ]
  7.SH DESCRIPTION
  8dwm is a dynamic window manager for X. It manages windows in tiled, monocle
  9and floating layouts. Either layout can be applied dynamically, optimising the
 10environment for the application in use and the task performed.
 11.P
 12In tiled layouts windows are managed in a master and stacking area. The master
 13area on the left contains one window by default, and the stacking area on the
 14right contains all other windows. The number of master area windows can be
 15adjusted from zero to an arbitrary number. In monocle layout all windows are
 16maximised to the screen size. In floating layout windows can be resized and
 17moved freely. Dialog windows are always managed floating, regardless of the
 18layout applied.
 19.P
 20Windows are grouped by tags. Each window can be tagged with one or multiple
 21tags. Selecting certain tags displays all windows with these tags.
 22.P
 23Each screen contains a small status bar which displays all available tags, the
 24layout, the title of the focused window, and the text read from the root window
 25name property, if the screen is focused. A floating window is indicated with an
 26empty square and a maximised floating window is indicated with a filled square
 27before the windows title.  The selected tags are indicated with a different
 28color. The tags of the focused window are indicated with a filled square in the
 29top left corner.  The tags which are applied to one or more windows are
 30indicated with an empty square in the top left corner.
 31.P
 32dwm draws a small border around windows to indicate the focus state.
 33.P
 34On start, dwm can start additional programs that may be specified in two special
 35shell scripts (see the FILES section below), autostart_blocking.sh and
 36autostart.sh.  The former is executed first and dwm will wait for its
 37termination before starting.  The latter is executed in the background before
 38dwm enters its handler loop.
 39.P
 40Either of these files may be omitted.
 41.SH OPTIONS
 42.TP
 43.B \-v
 44prints version information to stderr, then exits.
 45.SH USAGE
 46.SS Status bar
 47.TP
 48.B X root window name
 49is read and displayed in the status text area. It can be set with the
 50.BR xsetroot (1)
 51command.
 52.TP
 53.B Button1
 54click on a tag label to display all windows with that tag, click on the layout
 55label toggles between tiled and floating layout.
 56.TP
 57.B Button3
 58click on a tag label adds/removes all windows with that tag to/from the view.
 59.TP
 60.B Mod1\-Button1
 61click on a tag label applies that tag to the focused window.
 62.TP
 63.B Mod1\-Button3
 64click on a tag label adds/removes that tag to/from the focused window.
 65.SS Keyboard commands
 66.TP
 67.B Mod1\-Shift\-Return
 68Start
 69.BR st(1).
 70.TP
 71.B Mod1\-p
 72Spawn
 73.BR dmenu(1)
 74for launching other programs.
 75.TP
 76.B Mod1\-,
 77Focus previous screen, if any.
 78.TP
 79.B Mod1\-.
 80Focus next screen, if any.
 81.TP
 82.B Mod1\-Shift\-,
 83Send focused window to previous screen, if any.
 84.TP
 85.B Mod1\-Shift\-.
 86Send focused window to next screen, if any.
 87.TP
 88.B Mod1\-b
 89Toggles bar on and off.
 90.TP
 91.B Mod1\-t
 92Sets tiled layout.
 93.TP
 94.B Mod1\-f
 95Sets floating layout.
 96.TP
 97.B Mod1\-m
 98Sets monocle layout.
 99.TP
100.B Mod1\-space
101Toggles between current and previous layout.
102.TP
103.B Mod1\-Control\-,
104Cycles backwards in layout list.
105.TP
106.B Mod1\-Control\-.
107Cycles forwards in layout list.
108.TP
109.B Mod1\-j
110Focus next window.
111.TP
112.B Mod1\-k
113Focus previous window.
114.TP
115.B Mod1\-i
116Increase number of windows in master area.
117.TP
118.B Mod1\-d
119Decrease number of windows in master area.
120.TP
121.B Mod1\-l
122Increase master area size.
123.TP
124.B Mod1\-h
125Decrease master area size.
126.TP
127.B Mod1\-Return
128Zooms/cycles focused window to/from master area (tiled layouts only).
129.TP
130.B Mod1\-Shift\-c
131Close focused window.
132.TP
133.B Mod1\-Shift\-space
134Toggle focused window between tiled and floating state.
135.TP
136.B Mod1\-Tab
137Toggles to the previously selected tags.
138.TP
139.B Mod1\-Shift\-[1..n]
140Apply nth tag to focused window.
141.TP
142.B Mod1\-Shift\-0
143Apply all tags to focused window.
144.TP
145.B Mod1\-Control\-Shift\-[1..n]
146Add/remove nth tag to/from focused window.
147.TP
148.B Mod1\-[1..n]
149View all windows with nth tag.
150.TP
151.B Mod1\-0
152View all windows with any tag.
153.TP
154.B Mod1\-Control\-[1..n]
155Add/remove all windows with nth tag to/from the view.
156.TP
157.B Mod1\-Shift\-q
158Quit dwm.
159.SS Mouse commands
160.TP
161.B Mod1\-Button1
162Move focused window while dragging. Tiled windows will be toggled to the floating state.
163.TP
164.B Mod1\-Button2
165Toggles focused window between floating and tiled state.
166.TP
167.B Mod1\-Button3
168Resize focused window while dragging. Tiled windows will be toggled to the floating state.
169.SH FILES
170The files containing programs to be started along with dwm are searched for in
171the following directories:
172.IP "1. $XDG_DATA_HOME/dwm"
173.IP "2. $HOME/.local/share/dwm"
174.IP "3. $HOME/.dwm"
175.P
176The first existing directory is scanned for any of the autostart files below.
177.TP 15
178autostart.sh
179This file is started as a shell background process before dwm enters its handler
180loop.
181.TP 15
182autostart_blocking.sh
183This file is started before any autostart.sh; dwm waits for its termination.
184.SH CUSTOMIZATION
185dwm is customized by creating a custom config.h and (re)compiling the source
186code. This keeps it fast, secure and simple.
187.SH SEE ALSO
188.BR dmenu (1),
189.BR st (1)
190.SH ISSUES
191Java applications which use the XToolkit/XAWT backend may draw grey windows
192only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
193JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds
194are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the
195environment variable
196.BR AWT_TOOLKIT=MToolkit
197(to use the older Motif backend instead) or running
198.B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D
199or
200.B wmname LG3D
201(to pretend that a non-reparenting window manager is running that the
202XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable
203.BR _JAVA_AWT_WM_NONREPARENTING=1 .
204.SH BUGS
205Send all bug reports with a patch to [email protected].