updated dwm(1)
This commit is contained in:
parent
47b1974446
commit
d05d09b205
60
dwm.1
60
dwm.1
|
@ -9,7 +9,7 @@ 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
|
and floating layouts. Either layout can be applied dynamically, optimising the
|
||||||
environment for the application in use and the task performed.
|
environment for the application in use and the task performed.
|
||||||
.P
|
.P
|
||||||
In tiled layout windows are managed in a master and stacking area. The master
|
In tiled layouts windows are managed in a master and stacking area. The master
|
||||||
area contains the window which currently needs most attention, whereas the
|
area contains the window which currently needs most attention, whereas the
|
||||||
stacking area contains all other windows. In monocle layout all windows are
|
stacking area contains all other windows. In monocle layout all windows are
|
||||||
maximised to the screen size. In floating layout windows can be resized and
|
maximised to the screen size. In floating layout windows can be resized and
|
||||||
|
@ -57,23 +57,17 @@ click on a tag label adds/removes that tag to/from the focused window.
|
||||||
Start
|
Start
|
||||||
.BR xterm.
|
.BR xterm.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-Return
|
|
||||||
Zooms/cycles current window to/from master area (tiled layout only).
|
|
||||||
.TP
|
|
||||||
.B Mod1\-Tab
|
|
||||||
Toggles to the previously selected tags.
|
|
||||||
.TP
|
|
||||||
.B Mod1\-f
|
.B Mod1\-f
|
||||||
Apply floating layout.
|
Applies floating layout.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-m
|
.B Mod1\-m
|
||||||
Apply monocle layout.
|
Applies monocle layout.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-v
|
.B Mod1\-v
|
||||||
Apply vertical tiled layout.
|
Applies vertical tiled layout.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-h
|
.B Mod1\-h
|
||||||
Apply horizontal tiled layout.
|
Applies horizontal tiled layout.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-j
|
.B Mod1\-j
|
||||||
Focus next window.
|
Focus next window.
|
||||||
|
@ -81,21 +75,8 @@ Focus next window.
|
||||||
.B Mod1\-k
|
.B Mod1\-k
|
||||||
Focus previous window.
|
Focus previous window.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-r
|
.B Mod1\-Return
|
||||||
Re-applies tagging rules to all windows.
|
Zooms/cycles focused window to/from master area (tiled layouts only).
|
||||||
.TP
|
|
||||||
.B Mod1\-Shift\-[1..n]
|
|
||||||
Apply
|
|
||||||
.RB nth
|
|
||||||
tag to current window.
|
|
||||||
.TP
|
|
||||||
.B Mod1\-Shift\-0
|
|
||||||
Apply all tags to current window.
|
|
||||||
.TP
|
|
||||||
.B Mod1\-Control\-Shift\-[1..n]
|
|
||||||
Add/remove
|
|
||||||
.B nth
|
|
||||||
tag to/from current window.
|
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-Shift\-c
|
.B Mod1\-Shift\-c
|
||||||
Close focused window.
|
Close focused window.
|
||||||
|
@ -103,6 +84,25 @@ Close focused window.
|
||||||
.B Mod1\-Shift\-space
|
.B Mod1\-Shift\-space
|
||||||
Toggle focused window between tiled and floating state.
|
Toggle focused window between tiled and floating state.
|
||||||
.TP
|
.TP
|
||||||
|
.B Mod1\-Tab
|
||||||
|
Toggles to the previously selected tags.
|
||||||
|
.TP
|
||||||
|
.B Mod1\-r
|
||||||
|
Re-applies tagging rules to all windows.
|
||||||
|
.TP
|
||||||
|
.B Mod1\-Shift\-[1..n]
|
||||||
|
Apply
|
||||||
|
.RB nth
|
||||||
|
tag to focused window.
|
||||||
|
.TP
|
||||||
|
.B Mod1\-Shift\-0
|
||||||
|
Apply all tags to focused window.
|
||||||
|
.TP
|
||||||
|
.B Mod1\-Control\-Shift\-[1..n]
|
||||||
|
Add/remove
|
||||||
|
.B nth
|
||||||
|
tag to/from focused window.
|
||||||
|
.TP
|
||||||
.B Mod1\-[1..n]
|
.B Mod1\-[1..n]
|
||||||
View all windows with
|
View all windows with
|
||||||
.BR nth
|
.BR nth
|
||||||
|
@ -121,13 +121,13 @@ Quit dwm.
|
||||||
.SS Mouse commands
|
.SS Mouse commands
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-Button1
|
.B Mod1\-Button1
|
||||||
Move current window while dragging. Tiled windows will be toggled to the floating state.
|
Move focused window while dragging. Tiled windows will be toggled to the floating state.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-Button2
|
.B Mod1\-Button2
|
||||||
Zooms/cycles current window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead.
|
Zooms/cycles focused window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead.
|
||||||
.TP
|
.TP
|
||||||
.B Mod1\-Button3
|
.B Mod1\-Button3
|
||||||
Resize current window while dragging. Tiled windows will be toggled to the floating state.
|
Resize focused window while dragging. Tiled windows will be toggled to the floating state.
|
||||||
.SH CUSTOMIZATION
|
.SH CUSTOMIZATION
|
||||||
dwm is customized by creating a custom config.h and (re)compiling the source
|
dwm is customized by creating a custom config.h and (re)compiling the source
|
||||||
code. This keeps it fast, secure and simple.
|
code. This keeps it fast, secure and simple.
|
||||||
|
@ -148,7 +148,7 @@ can set the following environment variable (to use the older Motif
|
||||||
backend instead):
|
backend instead):
|
||||||
.BR AWT_TOOLKIT=MToolkit .
|
.BR AWT_TOOLKIT=MToolkit .
|
||||||
.P
|
.P
|
||||||
Recent GTK 2.10.9+ versions contain a broken
|
GTK 2.10.9+ versions contain a broken
|
||||||
.BR Save\-As
|
.BR Save\-As
|
||||||
file dialog implementation,
|
file dialog implementation,
|
||||||
which requests to reconfigure its window size in an endless loop. However, its
|
which requests to reconfigure its window size in an endless loop. However, its
|
||||||
|
|
2
dwm.c
2
dwm.c
|
@ -1491,8 +1491,6 @@ setup(void) {
|
||||||
wa.background_pixmap = ParentRelative;
|
wa.background_pixmap = ParentRelative;
|
||||||
wa.event_mask = ButtonPressMask|ExposureMask;
|
wa.event_mask = ButtonPressMask|ExposureMask;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen),
|
barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen),
|
||||||
CopyFromParent, DefaultVisual(dpy, screen),
|
CopyFromParent, DefaultVisual(dpy, screen),
|
||||||
CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa);
|
CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa);
|
||||||
|
|
Loading…
Reference in a new issue