-
Notifications
You must be signed in to change notification settings - Fork 7
/
dwm.1
332 lines (332 loc) · 6.39 KB
/
dwm.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
.TH DWM 1 dwm\-VERSION
.SH NAME
dwm \- dynamic window manager (Salonia Matteo <[email protected]>'s build)
.SH SYNOPSIS
.B dwm
.RB [ \-v ]
.SH DESCRIPTION
dwm is a dynamic window manager for X. It manages windows in tiled, monocle
and floating layouts. Either layout can be applied dynamically, optimising the
environment for the application in use and the task performed.
.P
In tiled layouts windows are managed in a master and stacking area. The master
area on the left contains one window by default, and the stacking area on the
right contains all other windows. The number of master area windows can be
adjusted from zero to an arbitrary number. In monocle layout all windows are
maximised to the screen size. In floating layout windows can be resized and
moved freely. Dialog windows are always managed floating, regardless of the
layout applied.
.P
Windows are grouped by tags. Each window can be tagged with one or multiple
tags. Selecting certain tags displays all windows with these tags.
.P
Each screen contains a small status bar which displays all available tags, the
layout, the title of the focused window, and the text read from the root window
name property, if the screen is focused. A floating window is indicated with an
empty square and a maximised floating window is indicated with a filled square
before the windows title. The selected tags are indicated with a different
color. The tags of the focused window are indicated with a filled square in the
top left corner. The tags which are applied to one or more windows are
indicated with an empty square in the top left corner.
.P
dwm draws a small border around windows to indicate the focus state.
.P
.I
libxft-bgra
should be installed for this build of dwm. Arch users may install it via the
AUR (libxft-bgra-git). Color characters and emoji are enabled,
but these will cause crashes without the fix
.I
libxft-bgra
offers.
.SH OPTIONS
.TP
.B \-v
prints version information to standard output, then exits.
.SH USAGE
.SS Status bar
.TP
.B X root window name
is read and displayed in the status text area. It can be set with the
.BR xsetroot (1)
command.
.TP
.SS [LAYOUTS]
.TP
.B Alt\-t
Set Tiling layout
.TP
.B Alt\-Shift\-t
Set Bstack layout (master on top)
.TP
.B Alt\-y
Set Spiral layout
.TP
.B Alt\-Shift\-y
Set Dwindle layout
.TP
.B Alt\-u
Set Deck layout
.TP
.B Alt\-Shift\-u
Set Monocle layout
.TP
.B Alt\-i
Set CenteredMaster layout
.TP
.B Alt\-Shift\-i
Set CenteredFloatingMaster layout
.TP
.SS[TAGS]
.B Alt\-[1-9]
Open tags 1 through 9
.TP
.B Alt\-0
Open scratchpad
.TP
.B Alt\-Tab
Switch between active tag and last opened tag
.TP
.B Alt\-\\
View the last opened tag
.TP
.B Alt\-g
Cycle through tags
.TP
.B Alt\-Left
Focus left monitor
.TP
.B Alt\-Right
Focus right monitor
.TP
.B Alt\-PageUp
Go a tag left
.TP
.B Alt\-PageDown
Go a tag right
.TP
.B Alt\-Shift\-PageUp
Move window to tag on the left
.TP
.B Alt\-Shift\-PageDown
Move window to tag on the right
.TP
.SS [WINDOWS]
.TP
.B Alt\-s
Make window sticky
.TP
.B Alt\-o
Increase the number of master windows
.TP
.B Alt\-Shift\-o
Decrease the number of master windows
.TP
.B Alt\-F4
Kill a window
.TP
.B Alt\-Shift\-g
Move window to previous tag
.TP
.B Alt\-h
Resize window left (make it smaller)
.TP
.B Alt\-l
Resize window right (make it bigger)
.TP
.B Alt\-Space
Promote selected window to master
.TP
.B Alt\-Shift\-Space
Toggle floating mode for a window
.TP
.SS [GAPS]
.TP
.B Super\-g
Toggle gaps
.TP
.B Super\-Shift\-a
Reset gaps to default size
.TP
.B Alt\-z
Increase gaps
.TP
.B Alt\-x
Decrease gaps
.TP
.SS [DWM]
.TP
.B Alt\-f
Toggle fullscreen
.TP
.B Alt\-b
Show/hide bar
.TP
.B Super\-l
Lock the screen
.TP
.B Alt\-Shift\-c
Close DWM
.TP
.B Alt\-Shift\-r
Restart DWM
.TP
.SS [TERMINAL]
.TP
.B Alt\-Enter
Launch
.BR st(1)
.TP
.B Alt\-Shift\-Enter
Open/close
.BR st(1)
in scratchpad
.TP
.SS [VIDEO]
.TP
.B PrintScreen
Take a screenshot
.TP
.B Alt\-F7
Show webcam with
.BR mpv(1)
.TP
.B Alt\-PrintScreen
Launch
.BR obs(1)
.TP
.SS [LAUNCHER]
.TP
.B Alt\-Shift\-d
Launch
.BR dmenu(1)
.TP
.B Alt\-d
Launch
.BR rofi(1)
.TP
.B Super\-n
Launch
.BR networkmanager-dmenu
.TP
.SS [OTHERS]
.TP
.B Alt\-Shift\-f
Open
.BR nautilus(1)
.TP
.B Alt\-Shift\-w
Open
.BR firefox(1)
.TP
.SS [SPECIAL KEYS]
.TP
.SS [AUDIO]
.TP
.B XF86AudioMute
Mute audio
.TP
.B XF86AudioRaiseVolume
Raise volume
.TP
.B XF86AudioLowerVolume
Lower volume
.TP
.B XF86AudioMicMute
Mute microphone
.TP
.SS [VIDEO]
.TP
.B Alt\-Shift\-Print
Toggle
.BR screenkey(1)
.TP
.B XF86Tools
Toggle
.BR screenkey(1)
.TP
.SS SCRIPTS
These keybindings will be used to launch scripts
.TP
.SS [SUPER-BOUND]
.TP
.B Super\-d
Select a monitor
.TP
.B Super\-i
Move the mouse to prevent inactivity
.TP
.B Super\-m
Mount a partition with
.BR dmenu(1)
.TP
.B Super\-u
Unmount a partition with
.BR dmenu(1)
.TP
.B Super\-r
Get reminded of something
.TP
.B Super\-t
Toggle the touchpad
.TP
.B Super\-w
Choose a new random wallpaper
.TP
.B Super\-Shift\-e
Choose an emoji with
.BR dmenu(1)
and copy it to the clipboard
.TP
.B Super\-Shift\-l
Lock the screen with
.BR slock(1)
.TP
.B Super\-Shift-u
Monitor a disk's usage
.TP
.SS [FNKEY-BOUND]
.TP
.B XF86Display
Toggle the webcam
.TP
.B XF86LaunchA
Open the script launcher, to choose which script to launch
.TP
.B XF86MonBrightnessDown
Decrease a monitor's brightness
.TP
.B XF86MonBrightnessUp
Increase a monitor's brightness
.TP
.B XF86Search
Download a video from YouTube with youtube-dlc and save it as an mp3 file in ~/Music
.SH CUSTOMIZATION
dwm is customized by creating a custom config.h and (re)compiling the source
code. This keeps it fast, secure and simple.
.SH SIGNALS
.TP
.B SIGHUP - 1
Restart the dwm process.
.TP
.B SIGTERM - 15
Cleanly terminate the dwm process.
.SH SEE ALSO
.BR dmenu (1),
.BR st (1)
.SH ISSUES
Java applications which use the XToolkit/XAWT backend may draw grey windows
only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds
are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the
environment variable
.BR AWT_TOOLKIT=MToolkit
(to use the older Motif backend instead) or running
.B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D
or
.B wmname LG3D
(to pretend that a non-reparenting window manager is running that the
XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable
.BR _JAVA_AWT_WM_NONREPARENTING=1 .
.SH BUGS
Send all bug reports with a patch to [email protected].