]> git.lizzy.rs Git - bspwm.git/blobdiff - doc/bspwm.1
Fix link to Linux coding style
[bspwm.git] / doc / bspwm.1
index 867d0c71fadb621375b1442e07c7c7c32e1054fa..4a0681cc15aeeb87f76c5f4ebf9389daaf6abbd9 100644 (file)
@@ -1,13 +1,13 @@
 '\" t
 .\"     Title: bspwm
 .\"    Author: [see the "Author" section]
-.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 11/15/2015
+.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
+.\"      Date: 01/30/2017
 .\"    Manual: Bspwm Manual
-.\"    Source: Bspwm 0.9
+.\"    Source: Bspwm 0.9.2-25-g048230e
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "11/15/2015" "Bspwm 0\&.9" "Bspwm Manual"
+.TH "BSPWM" "1" "01/30/2017" "Bspwm 0\&.9\&.2\-25\-g048230e" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -33,7 +33,9 @@ bspwm \- Binary space partitioning window manager
 .sp
 \fBbspwm\fR [\fB\-h\fR|\fB\-v\fR|\fB\-c\fR \fICONFIG_PATH\fR]
 .sp
-\fBbspc\fR \fICOMMAND\fR [\fIARGUMENTS\fR]
+\fBbspc\fR \fIDOMAIN\fR [\fISELECTOR\fR] \fICOMMANDS\fR
+.sp
+\fBbspc\fR \fICOMMAND\fR [\fIOPTIONS\fR] [\fIARGUMENTS\fR]
 .SH "DESCRIPTION"
 .sp
 \fBbspwm\fR is a tiling window manager that represents windows as the leaves of a full binary tree\&.
@@ -61,7 +63,7 @@ Use the given configuration file\&.
 .RS 4
 .\}
 .nf
-DIR         := left | right | up | down
+DIR         := north | west | south | east
 CYCLE_DIR   := next | prev
 .fi
 .if n \{\
@@ -69,31 +71,42 @@ CYCLE_DIR   := next | prev
 .\}
 .SH "SELECTORS"
 .sp
-Selectors are used to select a target window, desktop, or monitor\&. A selector can either describe the target relatively or name it globally\&.
+Selectors are used to select a target node, desktop, or monitor\&. A selector can either describe the target relatively or name it globally\&.
 .sp
-Descriptive (relative) selectors consist of a primary selector and any number of non\-conflicting modifiers as follows:
+Selectors consist of an optional reference, a descriptor and any number of non\-conflicting modifiers as follows:
 .sp
 .if n \{\
 .RS 4
 .\}
 .nf
-PRIMARY_SELECTOR[\&.MODIFIER]*
+[REFERENCE#]DESCRIPTOR(\&.MODIFIER)*
 .fi
 .if n \{\
 .RE
 .\}
 .sp
-For obvious reasons, neither desktop nor monitor names may be valid descriptive selectors\&.
-.SS "Window"
+The relative targets are computed in relation to the given reference (the default reference value is \fBfocused\fR)\&.
+.sp
+An exclamation mark can be prepended to any modifier in order to reverse its meaning\&.
+.SS "Node"
 .sp
-Select a window\&.
+Select a node\&.
 .sp
 .if n \{\
 .RS 4
 .\}
 .nf
-WINDOW_SEL := <window_id>
-            | (DIR|CYCLE_DIR|biggest|last|focused|older|newer)[\&.manual|\&.automatic][\&.tiled|nontiled][\&.pseudotiled|\&.nonpseudotiled][\&.floating|\&.nonfloating][\&.fullscreen|\&.nonfullscreen][\&.below|\&.normal|\&.above][\&.local|\&.foreign][\&.like|\&.unlike][\&.focused|\&.unfocused][\&.urgent|\&.nonurgent][\&.sticky|\&.nonsticky][\&.public|\&.private][\&.locked|\&.unlocked]
+NODE_SEL := [NODE_SEL#](DIR|CYCLE_DIR|PATH|last|older|newer|focused|pointed|biggest|<node_id>)[\&.[!]focused][\&.[!]automatic][\&.[!]local][\&.[!]active][\&.[!]leaf][\&.[!]window][\&.[!]STATE][\&.[!]FLAG][\&.[!]LAYER][\&.[!]same_class][\&.[!]descendant_of][\&.[!]ancestor_of]
+
+STATE := tiled|pseudo_tiled|floating|fullscreen
+
+FLAG := hidden|sticky|private|locked|urgent
+
+LAYER := below|normal|above
+
+PATH := @[DESKTOP_SEL:][[/]JUMP](/JUMP)*
+
+JUMP := first|1|second|2|brother|parent|DIR
 .fi
 .if n \{\
 .RE
@@ -104,186 +117,168 @@ WINDOW_SEL := <window_id>
 .nr an-break-flag 1
 .br
 .ps +1
-\fBPrimary Selectors\fR
+\fBDescriptors\fR
 .RS 4
 .PP
 \fIDIR\fR
 .RS 4
-Selects the window in the given (spacial) direction relative to the active window\&.
+Selects the window in the given (spacial) direction relative to the reference node\&.
 .RE
 .PP
 \fICYCLE_DIR\fR
 .RS 4
-Selects the window in the given (cyclic) direction\&.
+Selects the window in the given (cyclic) direction relative to the reference node\&.
 .RE
 .PP
-biggest
+\fIPATH\fR
 .RS 4
-Selects the biggest window on the current desktop\&.
+Selects the node at the given path\&.
 .RE
 .PP
 last
 .RS 4
-Selects the previously focused window\&.
-.RE
-.PP
-focused
-.RS 4
-Selects the currently focused window\&.
+Selects the previously focused node relative to the reference node\&.
 .RE
 .PP
 older
 .RS 4
-Selects the window older than the focused window in the history\&.
+Selects the node older than the reference node in the history\&.
 .RE
 .PP
 newer
 .RS 4
-Selects the window newer than the focused window in the history\&.
-.RE
-.RE
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-.ps +1
-\fBModifiers\fR
-.RS 4
-.PP
-tiled
-.RS 4
-Only consider tiled windows\&.
-.RE
-.PP
-nontiled
-.RS 4
-Only consider non tiled windows\&.
+Selects the node newer than the reference node in the history\&.
 .RE
 .PP
-pseudotiled
+focused
 .RS 4
-Only consider pseudo\-tiled windows\&.
+Selects the currently focused node\&.
 .RE
 .PP
-nonpseudotiled
+pointed
 .RS 4
-Only consider non pseudo\-tiled windows\&.
+Selects the window under the pointer\&.
 .RE
 .PP
-floating
+biggest
 .RS 4
-Only consider floating windows\&.
+Selects the biggest window\&.
 .RE
 .PP
-nonfloating
+<node_id>
 .RS 4
-Only consider non floating windows\&.
+Selects the node with the given ID\&.
 .RE
-.PP
-fullscreen
-.RS 4
-Only consider fullscreen windows\&.
 .RE
-.PP
-nonfullscreen
+.sp
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+.ps +1
+\fBPath Jumps\fR
 .RS 4
-Only consider non fullscreen windows\&.
-.RE
+.sp
+The initial node is the focused node (or the root if the path starts with \fI/\fR) of the reference desktop (or the selected desktop if the path has a \fIDESKTOP_SEL\fR prefix)\&.
 .PP
-manual
+1|first
 .RS 4
-Only consider windows in manual splitting mode\&.
+Jumps to the first child\&.
 .RE
 .PP
-automatic
+2|second
 .RS 4
-Only consider windows in automatic splitting mode\&.
+Jumps to the second child\&.
 .RE
 .PP
-focused
+brother
 .RS 4
-Only consider focused windows\&.
+Jumps to the brother node\&.
 .RE
 .PP
-unfocused
+parent
 .RS 4
-Only consider unfocused windows\&.
+Jumps to the parent node\&.
 .RE
 .PP
-below
+\fIDIR\fR
 .RS 4
-Only consider windows of the BELOW layer\&.
+Jumps to the node holding the edge in the given direction\&.
 .RE
-.PP
-normal
-.RS 4
-Only consider windows of the NORMAL layer\&.
 .RE
-.PP
-above
+.sp
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+.ps +1
+\fBModifiers\fR
 .RS 4
-Only consider windows of the ABOVE layer\&.
-.RE
 .PP
-like
+[!]focused
 .RS 4
-Only consider windows that have the same class as the current window\&.
+Only consider focused or unfocused nodes\&.
 .RE
 .PP
-unlike
+[!]automatic
 .RS 4
-Only consider windows that have a different class than the current window\&.
+Only consider nodes in automatic or manual insertion mode\&. See also
+\fB\-\-presel\-dir\fR
+under
+\fBNode\fR
+in the
+\fBDOMAINS\fR
+section below\&.
 .RE
 .PP
-local
+[!]local
 .RS 4
-Only consider windows of the current desktop\&.
+Only consider nodes in or not in the reference desktop\&.
 .RE
 .PP
-foreign
+[!]active
 .RS 4
-Only consider windows outside of the current desktop\&.
+Only consider nodes in or not in the active desktop of their monitor\&.
 .RE
 .PP
-private
+[!]leaf
 .RS 4
-Only consider private windows\&.
+Only consider leaves or internal nodes\&.
 .RE
 .PP
-public
+[!]window
 .RS 4
-Only consider non private windows\&.
+Only consider nodes that hold or don\(cqt hold a window\&.
 .RE
 .PP
-urgent
+[!](tiled|pseudo_tiled|floating|fullscreen)
 .RS 4
-Only consider urgent windows\&.
+Only consider windows in or not in the given state\&.
 .RE
 .PP
-nonurgent
+[!]same_class
 .RS 4
-Only consider non urgent windows\&.
+Only consider windows that have or don\(cqt have the same class as the reference window\&.
 .RE
 .PP
-sticky
+[!]descendant_of
 .RS 4
-Only consider sticky windows\&.
+Only consider nodes that are or aren\(cqt descendants of the reference node\&.
 .RE
 .PP
-nonsticky
+[!]ancestor_of
 .RS 4
-Only consider non sticky windows\&.
+Only consider nodes that are or aren\(cqt ancestors of the reference node\&.
 .RE
 .PP
-locked
+[!](hidden|sticky|private|locked|urgent)
 .RS 4
-Only consider locked windows\&.
+Only consider windows that have or don\(cqt have the given flag set\&.
 .RE
 .PP
-unlocked
+[!](below|normal|above)
 .RS 4
-Only consider non locked windows\&.
+Only consider windows in or not in the given layer\&.
 .RE
 .RE
 .SS "Desktop"
@@ -294,9 +289,7 @@ Select a desktop\&.
 .RS 4
 .\}
 .nf
-DESKTOP_SEL := <desktop_name>
-             | [MONITOR_SEL:]^<n>
-             | (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[\&.occupied|\&.free][\&.urgent|\&.nonurgent][\&.local|\&.foreign]
+DESKTOP_SEL := [DESKTOP_SEL#](CYCLE_DIR|last|older|newer|[MONITOR_SEL:](focused|^<n>)|<desktop_id>|<desktop_name>)[\&.[!]occupied][\&.[!]focused][\&.[!]urgent][\&.[!]local]
 .fi
 .if n \{\
 .RE
@@ -307,27 +300,27 @@ DESKTOP_SEL := <desktop_name>
 .nr an-break-flag 1
 .br
 .ps +1
-\fBPrimary Selectors\fR
+\fBDescriptors\fR
 .RS 4
 .PP
-<desktop_name>
+\fICYCLE_DIR\fR
 .RS 4
-Selects the desktop with the given name\&.
+Selects the desktop in the given direction relative to the reference desktop\&.
 .RE
 .PP
-^<n>
+last
 .RS 4
-Selects the nth desktop\&.
+Selects the previously focused desktop relative to the reference desktop\&.
 .RE
 .PP
-\fICYCLE_DIR\fR
+older
 .RS 4
-Selects the desktop in the given direction relative to the active desktop\&.
+Selects the desktop older than the reference desktop in the history\&.
 .RE
 .PP
-last
+newer
 .RS 4
-Selects the previously focused desktop\&.
+Selects the desktop newer than the reference desktop in the history\&.
 .RE
 .PP
 focused
@@ -335,14 +328,19 @@ focused
 Selects the currently focused desktop\&.
 .RE
 .PP
-older
+^<n>
 .RS 4
-Selects the desktop older than the focused desktop in the history\&.
+Selects the nth desktop\&.
 .RE
 .PP
-newer
+<desktop_id>
 .RS 4
-Selects the desktop newer than the focused desktop in the history\&.
+Selects the desktop with the given ID\&.
+.RE
+.PP
+<desktop_name>
+.RS 4
+Selects the desktop with the given name\&.
 .RE
 .RE
 .sp
@@ -354,34 +352,24 @@ Selects the desktop newer than the focused desktop in the history\&.
 \fBModifiers\fR
 .RS 4
 .PP
-occupied
-.RS 4
-Only consider occupied desktops\&.
-.RE
-.PP
-free
-.RS 4
-Only consider free desktops\&.
-.RE
-.PP
-urgent
+[!]occupied
 .RS 4
-Only consider urgent desktops\&.
+Only consider occupied or free desktops\&.
 .RE
 .PP
-nonurgent
+[!]focused
 .RS 4
-Only consider non urgent desktops\&.
+Only consider focused or unfocused desktops\&.
 .RE
 .PP
-local
+[!]urgent
 .RS 4
-Only consider desktops of the current monitor\&.
+Only consider urgent or non urgent desktops\&.
 .RE
 .PP
-foreign
+[!]local
 .RS 4
-Only consider desktops outside of the current monitor\&.
+Only consider desktops inside or outside of the reference monitor\&.
 .RE
 .RE
 .SS "Monitor"
@@ -392,9 +380,7 @@ Select a monitor\&.
 .RS 4
 .\}
 .nf
-MONITOR_SEL := <monitor_name>
-             | ^<n>
-             | (DIR|CYCLE_DIR|last|primary|focused|older|newer)[\&.occupied|\&.free]
+MONITOR_SEL := [MONITOR_SEL#](DIR|CYCLE_DIR|last|older|newer|focused|primary|^<n>|<monitor_id>|<monitor_name>)[\&.[!]occupied][\&.[!]focused]
 .fi
 .if n \{\
 .RE
@@ -405,52 +391,57 @@ MONITOR_SEL := <monitor_name>
 .nr an-break-flag 1
 .br
 .ps +1
-\fBPrimary Selectors\fR
+\fBDescriptors\fR
 .RS 4
 .PP
-<monitor_name>
+\fIDIR\fR
 .RS 4
-Selects the monitor with the given name\&.
+Selects the monitor in the given (spacial) direction relative to the reference monitor\&.
 .RE
 .PP
-^<n>
+\fICYCLE_DIR\fR
 .RS 4
-Selects the nth monitor\&.
+Selects the monitor in the given (cyclic) direction relative to the reference monitor\&.
 .RE
 .PP
-\fIDIR\fR
+last
 .RS 4
-Selects the monitor in the given (spacial) direction relative to the active monitor\&.
+Selects the previously focused monitor relative to the reference monitor\&.
 .RE
 .PP
-\fICYCLE_DIR\fR
+older
 .RS 4
-Selects the monitor in the given (cyclic) direction relative to the active monitor\&.
+Selects the monitor older than the reference monitor in the history\&.
 .RE
 .PP
-primary
+newer
 .RS 4
-Selects the primary monitor\&.
+Selects the monitor newer than the reference monitor in the history\&.
 .RE
 .PP
-last
+focused
 .RS 4
-Selects the previously focused monitor\&.
+Selects the currently focused monitor\&.
 .RE
 .PP
-focused
+primary
 .RS 4
-Selects the currently focused monitor\&.
+Selects the primary monitor\&.
 .RE
 .PP
-older
+^<n>
 .RS 4
-Selects the monitor older than the focused monitor in the history\&.
+Selects the nth monitor\&.
 .RE
 .PP
-newer
+<monitor_id>
+.RS 4
+Selects the monitor with the given ID\&.
+.RE
+.PP
+<monitor_name>
 .RS 4
-Selects the monitor newer than the focused monitor in the history\&.
+Selects the monitor with the given name\&.
 .RE
 .RE
 .sp
@@ -462,14 +453,14 @@ Selects the monitor newer than the focused monitor in the history\&.
 \fBModifiers\fR
 .RS 4
 .PP
-occupied
+[!]occupied
 .RS 4
-Only consider monitors where the focused desktop is occupied\&.
+Only consider monitors where the focused desktop is occupied or free\&.
 .RE
 .PP
-free
+[!]focused
 .RS 4
-Only consider monitors where the focused desktop is free\&.
+Only consider focused or unfocused monitors\&.
 .RE
 .RE
 .SH "WINDOW STATES"
@@ -493,13 +484,11 @@ fullscreen
 .RS 4
 Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer by default\&.
 .RE
-.SH "WINDOW FLAGS"
+.SH "NODE FLAGS"
 .PP
-locked
+hidden
 .RS 4
-Ignores the
-\fBwindow \-\-close\fR
-message\&.
+Is hidden and doesn\(cqt occupy any tiling space\&.
 .RE
 .PP
 sticky
@@ -512,6 +501,13 @@ private
 Tries to keep the same tiling position/size\&.
 .RE
 .PP
+locked
+.RS 4
+Ignores the
+\fBnode \-\-close\fR
+message\&.
+.RE
+.PP
 urgent
 .RS 4
 Has its urgency hint set\&. This flag is set externally\&.
@@ -521,8 +517,8 @@ Has its urgency hint set\&. This flag is set externally\&.
 There\(cqs three stacking layers: BELOW, NORMAL and ABOVE\&.
 .sp
 In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fullscreen < floating\&.
-.SH "COMMANDS"
-.SS "Window"
+.SH "DOMAINS"
+.SS "Node"
 .sp
 .it 1 an-trap
 .nr an-no-space-flag 1
@@ -532,7 +528,9 @@ In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fulls
 \fBGeneral Syntax\fR
 .RS 4
 .sp
-window [\fIWINDOW_SEL\fR] \fIOPTIONS\fR
+node [\fINODE_SEL\fR] \fICOMMANDS\fR
+.sp
+If \fINODE_SEL\fR is omitted, \fBfocused\fR is assumed\&.
 .RE
 .sp
 .it 1 an-trap
@@ -540,69 +538,115 @@ window [\fIWINDOW_SEL\fR] \fIOPTIONS\fR
 .nr an-break-flag 1
 .br
 .ps +1
-\fBOptions\fR
+\fBCommands\fR
 .RS 4
 .PP
-\fB\-f\fR, \fB\-\-focus\fR [\fIWINDOW_SEL\fR]
+\fB\-f\fR, \fB\-\-focus\fR [\fINODE_SEL\fR]
 .RS 4
-Focus the selected or given window\&.
+Focus the selected or given node\&.
 .RE
 .PP
-\fB\-a\fR, \fB\-\-activate\fR [\fIWINDOW_SEL\fR]
+\fB\-a\fR, \fB\-\-activate\fR [\fINODE_SEL\fR]
 .RS 4
-Activate the selected or given window\&.
+Activate the selected or given node\&.
 .RE
 .PP
 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR
 .RS 4
-Send the selected window to the given desktop\&.
+Send the selected node to the given desktop\&.
 .RE
 .PP
 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
 .RS 4
-Send the selected window to the given monitor\&.
+Send the selected node to the given monitor\&.
+.RE
+.PP
+\fB\-n\fR, \fB\-\-to\-node\fR \fINODE_SEL\fR
+.RS 4
+Transplant the selected node to the given node\&.
 .RE
 .PP
-\fB\-w\fR, \fB\-\-to\-window\fR \fIWINDOW_SEL\fR
+\fB\-s\fR, \fB\-\-swap\fR \fINODE_SEL\fR
 .RS 4
-Transplant the selected window to the given window\&.
+Swap the selected node with the given node\&.
 .RE
 .PP
-\fB\-s\fR, \fB\-\-swap\fR \fIWINDOW_SEL\fR
+\fB\-p\fR, \fB\-\-presel\-dir\fR [~]\fIDIR\fR|cancel
 .RS 4
-Swap the selected window with the given window\&.
+Preselect the splitting area of the selected node (or cancel the preselection)\&. If
+\fB~\fR
+is prepended to
+\fIDIR\fR
+and the current preselection direction matches
+\fIDIR\fR, then the argument is interpreted as
+\fBcancel\fR\&. A node with a preselected area is said to be in "manual insertion mode"\&.
+.RE
+.PP
+\fB\-o\fR, \fB\-\-presel\-ratio\fR \fIRATIO\fR
+.RS 4
+Set the splitting ratio of the preselection area\&.
 .RE
 .PP
-\fB\-p\fR, \fB\-\-presel\fR \fIDIR\fR|cancel
+\fB\-v\fR, \fB\-\-move\fR \fIdx\fR \fIdy\fR
 .RS 4
-Preselect the splitting area of the selected window (or cancel the preselection)\&.
+Move the selected window by
+\fIdx\fR
+pixels horizontally and
+\fIdy\fR
+pixels vertically\&.
 .RE
 .PP
-\fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR
+\fB\-z\fR, \fB\-\-resize\fR top|left|bottom|right|top_left|top_right|bottom_right|bottom_left \fIdx\fR \fIdy\fR
 .RS 4
-Set the splitting ratio of the selected window (0 <
+Resize the selected window by moving the given handle by
+\fIdx\fR
+pixels horizontally and
+\fIdy\fR
+pixels vertically\&.
+.RE
+.PP
+\fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR|(+|\-)(\fIPIXELS\fR|\fIFRACTION\fR)
+.RS 4
+Set the splitting ratio of the selected node (0 <
 \fIRATIO\fR
 < 1)\&.
 .RE
 .PP
-\fB\-e\fR, \fB\-\-edge\fR \fIDIR\fR \fIRATIO\fR|\(+-\fIPIXELS\fR
+\fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
+.RS 4
+Rotate the tree rooted at the selected node\&.
+.RE
+.PP
+\fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
+.RS 4
+Flip the the tree rooted at selected node\&.
+.RE
+.PP
+\fB\-E\fR, \fB\-\-equalize\fR
+.RS 4
+Reset the split ratios of the tree rooted at the selected node to their default value\&.
+.RE
+.PP
+\fB\-B\fR, \fB\-\-balance\fR
 .RS 4
-Set or change the splitting ratio of the edge located in the given direction in relation to the selected window\&.
+Adjust the split ratios of the tree rooted at the selected node so that all windows occupy the same area\&.
 .RE
 .PP
-\fB\-R\fR, \fB\-\-rotate\fR \fIDIR\fR \fI90|270|180\fR
+\fB\-C\fR, \fB\-\-circulate\fR forward|backward
 .RS 4
-Rotate the tree holding the edge located in the given direction in relation to the selected window\&.
+Circulate the windows of the tree rooted at the selected node\&.
 .RE
 .PP
-\fB\-t\fR, \fB\-\-state\fR tiled|pseudo_tiled|floating|fullscreen
+\fB\-t\fR, \fB\-\-state\fR [~](tiled|pseudo_tiled|floating|fullscreen)
 .RS 4
-Set the state of the selected window\&.
+Set the state of the selected window\&. If
+\fB~\fR
+is present and the current state matches the given state, then the argument is interpreted as the last state\&.
 .RE
 .PP
-\fB\-g\fR, \fB\-\-flag\fR locked|sticky|private[=on|off]
+\fB\-g\fR, \fB\-\-flag\fR hidden|sticky|private|locked[=on|off]
 .RS 4
-Set or toggle the given flag for the selected window\&.
+Set or toggle the given flag for the selected node\&.
 .RE
 .PP
 \fB\-l\fR, \fB\-\-layer\fR below|normal|above
@@ -610,14 +654,19 @@ Set or toggle the given flag for the selected window\&.
 Set the stacking layer of the selected window\&.
 .RE
 .PP
+\fB\-i\fR, \fB\-\-insert\-receptacle\fR
+.RS 4
+Insert a receptacle node at the selected node\&.
+.RE
+.PP
 \fB\-c\fR, \fB\-\-close\fR
 .RS 4
-Close the selected window\&.
+Close the windows rooted at the selected node\&.
 .RE
 .PP
 \fB\-k\fR, \fB\-\-kill\fR
 .RS 4
-Kill the selected window\&.
+Kill the windows rooted at the selected node\&.
 .RE
 .RE
 .SS "Desktop"
@@ -630,7 +679,9 @@ Kill the selected window\&.
 \fBGeneral Syntax\fR
 .RS 4
 .sp
-desktop [\fIDESKTOP_SEL\fR] \fIOPTIONS\fR
+desktop [\fIDESKTOP_SEL\fR] \fICOMMANDS\fR
+.sp
+If \fIDESKTOP_SEL\fR is omitted, \fBfocused\fR is assumed\&.
 .RE
 .sp
 .it 1 an-trap
@@ -638,7 +689,7 @@ desktop [\fIDESKTOP_SEL\fR] \fIOPTIONS\fR
 .nr an-break-flag 1
 .br
 .ps +1
-\fBOptions\fR
+\fBCOMMANDS\fR
 .RS 4
 .PP
 \fB\-f\fR, \fB\-\-focus\fR [\fIDESKTOP_SEL\fR]
@@ -646,6 +697,11 @@ desktop [\fIDESKTOP_SEL\fR] \fIOPTIONS\fR
 Focus the selected or given desktop\&.
 .RE
 .PP
+\fB\-a\fR, \fB\-\-activate\fR [\fIDESKTOP_SEL\fR]
+.RS 4
+Activate the selected or given desktop\&.
+.RE
+.PP
 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
 .RS 4
 Send the selected desktop to the given monitor\&.
@@ -675,36 +731,6 @@ Bubble the selected desktop in the given direction\&.
 .RS 4
 Remove the selected desktop\&.
 .RE
-.PP
-\fB\-c\fR, \fB\-\-cancel\-presel\fR
-.RS 4
-Cancel the preselection of all the windows of the selected desktop\&.
-.RE
-.PP
-\fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
-.RS 4
-Flip the tree of the selected desktop\&.
-.RE
-.PP
-\fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
-.RS 4
-Rotate the tree of the selected desktop\&.
-.RE
-.PP
-\fB\-E\fR, \fB\-\-equalize\fR
-.RS 4
-Reset the split ratios of the tree of the selected desktop\&.
-.RE
-.PP
-\fB\-B\fR, \fB\-\-balance\fR
-.RS 4
-Adjust the split ratios of the tree of the selected desktop so that all windows occupy the same area\&.
-.RE
-.PP
-\fB\-C\fR, \fB\-\-circulate\fR forward|backward
-.RS 4
-Circulate the leaves of the tree of the selected desktop\&.
-.RE
 .RE
 .SS "Monitor"
 .sp
@@ -716,7 +742,9 @@ Circulate the leaves of the tree of the selected desktop\&.
 \fBGeneral Syntax\fR
 .RS 4
 .sp
-monitor [\fIMONITOR_SEL\fR] \fIOPTIONS\fR
+monitor [\fIMONITOR_SEL\fR] \fICOMMANDS\fR
+.sp
+If \fIMONITOR_SEL\fR is omitted, \fBfocused\fR is assumed\&.
 .RE
 .sp
 .it 1 an-trap
@@ -724,7 +752,7 @@ monitor [\fIMONITOR_SEL\fR] \fIOPTIONS\fR
 .nr an-break-flag 1
 .br
 .ps +1
-\fBOptions\fR
+\fBCommands\fR
 .RS 4
 .PP
 \fB\-f\fR, \fB\-\-focus\fR [\fIMONITOR_SEL\fR]
@@ -732,14 +760,14 @@ monitor [\fIMONITOR_SEL\fR] \fIOPTIONS\fR
 Focus the selected or given monitor\&.
 .RE
 .PP
-\fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
+\fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
 .RS 4
-Create desktops with the given names in the selected monitor\&.
+Swap the selected monitor with the given monitor\&.
 .RE
 .PP
-\fB\-r\fR, \fB\-\-remove\-desktops\fR <name>\&...
+\fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
 .RS 4
-Remove desktops with the given names\&.
+Create desktops with the given names in the selected monitor\&.
 .RE
 .PP
 \fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
@@ -749,7 +777,12 @@ Reorder the desktops of the selected monitor to match the given order\&.
 .PP
 \fB\-d\fR, \fB\-\-reset\-desktops\fR <name>\&...
 .RS 4
-Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&. Incidentally reset the settings of the existing desktops\&.
+Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&.
+.RE
+.PP
+\fB\-g\fR, \fB\-\-rectangle\fR WxH+X+Y
+.RS 4
+Set the rectangle of the selected monitor\&.
 .RE
 .PP
 \fB\-n\fR, \fB\-\-rename\fR <new_name>
@@ -757,9 +790,9 @@ Rename, add or remove desktops depending on whether the number of given names is
 Rename the selected monitor\&.
 .RE
 .PP
-\fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
+\fB\-r\fR, \fB\-\-remove\fR
 .RS 4
-Swap the selected monitor with the given monitor\&.
+Remove the selected monitor\&.
 .RE
 .RE
 .SS "Query"
@@ -772,7 +805,7 @@ Swap the selected monitor with the given monitor\&.
 \fBGeneral Syntax\fR
 .RS 4
 .sp
-query \fIOPTIONS\fR
+query \fICOMMANDS\fR [\fIOPTIONS\fR]
 .RE
 .sp
 .it 1 an-trap
@@ -780,55 +813,30 @@ query \fIOPTIONS\fR
 .nr an-break-flag 1
 .br
 .ps +1
-\fBOptions\fR
+\fBCommands\fR
 .RS 4
+.sp
+The optional selectors are references\&.
 .PP
-\fB\-W\fR, \fB\-\-windows\fR
+\fB\-N\fR, \fB\-\-nodes\fR [\fINODE_SEL\fR]
 .RS 4
-List matching windows\&.
+List the IDs of the matching nodes\&.
 .RE
 .PP
-\fB\-D\fR, \fB\-\-desktops\fR
+\fB\-D\fR, \fB\-\-desktops\fR [\fIDESKTOP_SEL\fR]
 .RS 4
-List matching desktops\&.
+List the IDs (or names) of the matching desktops\&.
 .RE
 .PP
-\fB\-M\fR, \fB\-\-monitors\fR
+\fB\-M\fR, \fB\-\-monitors\fR [\fIMONITOR_SEL\fR]
 .RS 4
-List matching monitors\&.
+List the IDs (or names) of the matching monitors\&.
 .RE
 .PP
 \fB\-T\fR, \fB\-\-tree\fR
 .RS 4
-Print tree rooted at query\&.
-.RE
-.PP
-\fB\-H\fR, \fB\-\-history\fR
-.RS 4
-Print the history as it relates to the query\&.
-.RE
-.PP
-\fB\-S\fR, \fB\-\-stack\fR
-.RS 4
-Print the window stacking order\&.
-.RE
-.PP
-[\fB\-m\fR,\fB\-\-monitor\fR [\fIMONITOR_SEL\fR]] | [\fB\-d\fR,\fB\-\-desktop\fR [\fIDESKTOP_SEL\fR]] | [\fB\-w\fR, \fB\-\-window\fR [\fIWINDOW_SEL\fR]]
-.RS 4
-Constrain matches to the selected monitor, desktop or window\&.
-.RE
+Print a JSON representation of the matching item\&.
 .RE
-.SS "Restore"
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-.ps +1
-\fBGeneral Syntax\fR
-.RS 4
-.sp
-restore \fIOPTIONS\fR
 .RE
 .sp
 .it 1 an-trap
@@ -839,22 +847,21 @@ restore \fIOPTIONS\fR
 \fBOptions\fR
 .RS 4
 .PP
-\fB\-T\fR, \fB\-\-tree\fR <file_path>
+\fB\-m\fR,\fB\-\-monitor\fR [\fIMONITOR_SEL\fR], \fB\-d\fR,\fB\-\-desktop\fR [\fIDESKTOP_SEL\fR], \fB\-n\fR, \fB\-\-node\fR [\fINODE_SEL\fR]
 .RS 4
-Load the desktop trees from the given file\&.
-.RE
-.PP
-\fB\-H\fR, \fB\-\-history\fR <file_path>
-.RS 4
-Load the focus history from the given file\&.
+Constrain matches to the selected monitor, desktop or node\&. The descriptor can be omitted for
+\fI\-M\fR,
+\fI\-D\fR
+and
+\fI\-N\fR\&.
 .RE
 .PP
-\fB\-S\fR, \fB\-\-stack\fR <file_path>
+\fB\-\-names\fR
 .RS 4
-Load the window stacking order from the given file\&.
+Print names instead of IDs\&.
 .RE
 .RE
-.SS "Control"
+.SS "Wm"
 .sp
 .it 1 an-trap
 .nr an-no-space-flag 1
@@ -864,7 +871,7 @@ Load the window stacking order from the given file\&.
 \fBGeneral Syntax\fR
 .RS 4
 .sp
-control \fIOPTIONS\fR
+wm \fICOMMANDS\fR
 .RE
 .sp
 .it 1 an-trap
@@ -872,37 +879,40 @@ control \fIOPTIONS\fR
 .nr an-break-flag 1
 .br
 .ps +1
-\fBOptions\fR
+\fBCommands\fR
 .RS 4
 .PP
-\fB\-\-adopt\-orphans\fR
+\fB\-d\fR, \fB\-\-dump\-state\fR
 .RS 4
-Manage all the unmanaged windows remaining from a previous session\&.
+Dump the current world state on standard output\&.
 .RE
 .PP
-\fB\-\-toggle\-visibility\fR
+\fB\-l\fR, \fB\-\-load\-state\fR <file_path>
 .RS 4
-Toggle the visibility of all the windows\&.
+Load a world state from the given file\&.
 .RE
 .PP
-\fB\-\-record\-history\fR on|off
+\fB\-a\fR, \fB\-\-add\-monitor\fR <name> WxH+X+Y
 .RS 4
-Enable or disable the recording of window focus history\&.
+Add a monitor for the given name and rectangle\&.
 .RE
 .PP
-\fB\-\-subscribe\fR (all|report|monitor|desktop|window|\&...)*
+\fB\-o\fR, \fB\-\-adopt\-orphans\fR
 .RS 4
-Continuously print status information\&. See the
-\fBEVENTS\fR
-section for the detailed description of each event\&.
+Manage all the unmanaged windows remaining from a previous session\&.
+.RE
+.PP
+\fB\-h\fR, \fB\-\-record\-history\fR on|off
+.RS 4
+Enable or disable the recording of node focus history\&.
 .RE
 .PP
-\fB\-\-get\-status\fR
+\fB\-g\fR, \fB\-\-get\-status\fR
 .RS 4
 Print the current status information\&.
 .RE
 .RE
-.SS "Pointer"
+.SS "Rule"
 .sp
 .it 1 an-trap
 .nr an-no-space-flag 1
@@ -912,7 +922,7 @@ Print the current status information\&.
 \fBGeneral Syntax\fR
 .RS 4
 .sp
-pointer \fIOPTIONS\fR
+rule \fICOMMANDS\fR
 .RE
 .sp
 .it 1 an-trap
@@ -920,25 +930,25 @@ pointer \fIOPTIONS\fR
 .nr an-break-flag 1
 .br
 .ps +1
-\fBOptions\fR
+\fBCommands\fR
 .RS 4
 .PP
-\fB\-g\fR, \fB\-\-grab\fR focus|move|resize_side|resize_corner
+\fB\-a\fR, \fB\-\-add\fR (<class_name>|*)[:(<instance_name>|*)] [\fB\-o\fR|\fB\-\-one\-shot\fR] [monitor=MONITOR_SEL|desktop=DESKTOP_SEL|node=NODE_SEL] [state=STATE] [layer=LAYER] [split_dir=DIR] [split_ratio=RATIO] [(hidden|sticky|private|locked|center|follow|manage|focus|border)=(on|off)]
 .RS 4
-Initiate the given pointer action\&.
+Create a new rule\&.
 .RE
 .PP
-\fB\-t\fR, \fB\-\-track\fR <x> <y>
+\fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|(<class_name>|*)[:(<instance_name>|*)]\&...
 .RS 4
-Pass the pointer root coordinates for the current pointer action\&.
+Remove the given rules\&.
 .RE
 .PP
-\fB\-u\fR, \fB\-\-ungrab\fR
+\fB\-l\fR, \fB\-\-list\fR
 .RS 4
-Terminate the current pointer action\&.
+List the rules\&.
 .RE
 .RE
-.SS "Rule"
+.SS "Config"
 .sp
 .it 1 an-trap
 .nr an-no-space-flag 1
@@ -947,34 +957,13 @@ Terminate the current pointer action\&.
 .ps +1
 \fBGeneral Syntax\fR
 .RS 4
-.sp
-rule \fIOPTIONS\fR
-.RE
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-.ps +1
-\fBOptions\fR
-.RS 4
-.PP
-\fB\-a\fR, \fB\-\-add\fR <class_name>|<instance_name>|* [\fB\-o\fR|\fB\-\-one\-shot\fR] [monitor=MONITOR_SEL|desktop=DESKTOP_SEL|window=WINDOW_SEL] [state=STATE] [layer=LAYER] [split_dir=DIR] [split_ratio=RATIO] [(locked|sticky|private|center|follow|manage|focus|border)=(on|off)]
-.RS 4
-Create a new rule\&.
-.RE
-.PP
-\fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|<class_name>|<instance_name>|*\&...
-.RS 4
-Remove the given rules\&.
-.RE
 .PP
-\fB\-l\fR, \fB\-\-list\fR [<class_name>|<instance_name>|*]
+config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-n \fINODE_SEL\fR] <setting> [<value>]
 .RS 4
-List the rules\&.
+Get or set the value of <setting>\&.
 .RE
 .RE
-.SS "Config"
+.SS "Subscribe"
 .sp
 .it 1 an-trap
 .nr an-no-space-flag 1
@@ -984,9 +973,11 @@ List the rules\&.
 \fBGeneral Syntax\fR
 .RS 4
 .PP
-config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-w \fIWINDOW_SEL\fR] <key> [<value>]
+subscribe (all|report|monitor|desktop|node|\&...)*
 .RS 4
-Get or set the value of <key>\&.
+Continuously print status information\&. See the
+\fBEVENTS\fR
+section for the detailed description of each event\&.
 .RE
 .RE
 .SS "Quit"
@@ -1006,32 +997,17 @@ Quit with an optional exit status\&.
 .RE
 .SH "EXIT CODES"
 .sp
-If the server can\(cqt handle a message, \fBbspc\fR will return with one of the following exit codes:
-.PP
-1
-.RS 4
-Failure\&.
-.RE
-.PP
-2
-.RS 4
-Syntax error\&.
-.RE
-.PP
-3
-.RS 4
-Unknown command\&.
-.RE
+If the server can\(cqt handle a message, \fBbspc\fR will return with a non\-zero exit code\&.
 .SH "SETTINGS"
 .sp
-Colors are either \fI#RRGGBB\fR or X color names, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
+Colors are in the form \fI#RRGGBB\fR, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
 .sp
 All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
 .SS "Global Settings"
 .PP
-\fIfocused_border_color\fR
+\fInormal_border_color\fR
 .RS 4
-Color of the border of a focused window of a focused monitor\&.
+Color of the border of an unfocused window\&.
 .RE
 .PP
 \fIactive_border_color\fR
@@ -1039,66 +1015,16 @@ Color of the border of a focused window of a focused monitor\&.
 Color of the border of a focused window of an unfocused monitor\&.
 .RE
 .PP
-\fInormal_border_color\fR
+\fIfocused_border_color\fR
 .RS 4
-Color of the border of an unfocused window\&.
+Color of the border of a focused window of a focused monitor\&.
 .RE
 .PP
-\fIpresel_border_color\fR
+\fIpresel_feedback_color\fR
 .RS 4
 Color of the
-\fBwindow \-\-presel\fR
-message feedback\&.
-.RE
-.PP
-\fIfocused_locked_border_color\fR
-.RS 4
-Color of the border of a focused locked window of a focused monitor\&.
-.RE
-.PP
-\fIactive_locked_border_color\fR
-.RS 4
-Color of the border of a focused locked window of an unfocused monitor\&.
-.RE
-.PP
-\fInormal_locked_border_color\fR
-.RS 4
-Color of the border of an unfocused locked window\&.
-.RE
-.PP
-\fIfocused_sticky_border_color\fR
-.RS 4
-Color of the border of a focused sticky window of a focused monitor\&.
-.RE
-.PP
-\fIactive_sticky_border_color\fR
-.RS 4
-Color of the border of a focused sticky window of an unfocused monitor\&.
-.RE
-.PP
-\fInormal_sticky_border_color\fR
-.RS 4
-Color of the border of an unfocused sticky window\&.
-.RE
-.PP
-\fIfocused_private_border_color\fR
-.RS 4
-Color of the border of a focused private window of a focused monitor\&.
-.RE
-.PP
-\fIactive_private_border_color\fR
-.RS 4
-Color of the border of a focused private window of an unfocused monitor\&.
-.RE
-.PP
-\fInormal_private_border_color\fR
-.RS 4
-Color of the border of an unfocused private window\&.
-.RE
-.PP
-\fIurgent_border_color\fR
-.RS 4
-Color of the border of an urgent window\&.
+\fBnode \-\-presel\-{dir,ratio}\fR
+message feedback area\&.
 .RE
 .PP
 \fIsplit_ratio\fR
@@ -1113,7 +1039,7 @@ Prefix prepended to each of the status lines\&.
 .PP
 \fIexternal_rules_command\fR
 .RS 4
-External command used to retrieve rule consequences\&. The command will receive the the ID of the window being processed as its first argument and the class and instance names as second and third arguments\&. The output of that command must have the following format:
+External command used to retrieve rule consequences\&. The command will receive the following arguments: window ID, class and instance names, monitor, desktop and node selectors\&. The output of that command must have the following format:
 \fBkey1=value1 key2=value2 \&...\fR
 (the valid key/value pairs are given in the description of the
 \fIrule\fR
@@ -1127,16 +1053,6 @@ On which child should a new window be attached when adding a window on a single
 \fBsecond_child\fR\&.
 .RE
 .PP
-\fIhistory_aware_focus\fR
-.RS 4
-Give priority to the focus history when focusing nodes\&.
-.RE
-.PP
-\fIfocus_by_distance\fR
-.RS 4
-Base focusing on distances between windows\&.
-.RE
-.PP
 \fIborderless_monocle\fR
 .RS 4
 Remove borders of tiled windows for the
@@ -1151,48 +1067,76 @@ Remove gaps of tiled windows for the
 desktop layout\&.
 .RE
 .PP
-\fIleaf_monocle\fR
+\fIpaddingless_monocle\fR
+.RS 4
+Remove padding space for the
+\fBmonocle\fR
+desktop layout\&.
+.RE
+.PP
+\fIsingle_monocle\fR
 .RS 4
 Set the desktop layout to
 \fBmonocle\fR
 if there\(cqs only one tiled window in the tree\&.
 .RE
 .PP
-\fIfocus_follows_pointer\fR
+\fIpointer_motion_interval\fR
 .RS 4
-Focus the window under the pointer\&.
+The minimum interval, in milliseconds, between two motion notify events\&.
 .RE
 .PP
-\fIpointer_follows_focus\fR
+\fIpointer_modifier\fR
 .RS 4
-When focusing a window, put the pointer at its center\&.
+Keyboard modifier used for moving or resizing windows\&. Accept the following values:
+\fBshift\fR,
+\fBcontrol\fR,
+\fBlock\fR,
+\fBmod1\fR,
+\fBmod2\fR,
+\fBmod3\fR,
+\fBmod4\fR,
+\fBmod5\fR\&.
 .RE
 .PP
-\fIpointer_follows_monitor\fR
+\fIpointer_action1\fR, \fIpointer_action2\fR, \fIpointer_action3\fR
 .RS 4
-When focusing a monitor, put the pointer at its center\&.
+Action performed when pressing
+\fIpointer_modifier\fR
++
+\fIbutton<n>\fR\&. Accept the following values:
+\fBmove\fR,
+\fBresize_side\fR,
+\fBresize_corner\fR,
+\fBfocus\fR,
+\fBnone\fR\&.
 .RE
 .PP
-\fIauto_alternate\fR
+\fIclick_to_focus\fR
 .RS 4
-Interpret consecutive identical
-\fB\-\-focus\fR
-arguments as the
-\fBlast\fR
-selector for the
-\fBmonitor\fR
-and
-\fBdesktop\fR
-commands\&.
+Focus a window (or a monitor) by clicking it\&.
+.RE
+.PP
+\fIswallow_first_click\fR
+.RS 4
+Don\(cqt replay the click that makes a window focused when
+\fIclick_to_focus\fR
+is set\&.
 .RE
 .PP
-\fIauto_cancel\fR
+\fIfocus_follows_pointer\fR
 .RS 4
-Interpret consecutive identical
-\fB\-\-presel\fR
-arguments as
-\fB\-\-cancel\-presel\fR
-option\&.
+Focus the window under the pointer\&.
+.RE
+.PP
+\fIpointer_follows_focus\fR
+.RS 4
+When focusing a window, put the pointer at its center\&.
+.RE
+.PP
+\fIpointer_follows_monitor\fR
+.RS 4
+When focusing a monitor, put the pointer at its center\&.
 .RE
 .PP
 \fIignore_ewmh_focus\fR
@@ -1206,6 +1150,11 @@ Center pseudo tiled windows into their tiling rectangles\&. Defaults to
 \fItrue\fR\&.
 .RE
 .PP
+\fIhonor_size_hints\fR
+.RS 4
+Apply ICCCM window size hints\&.
+.RE
+.PP
 \fIremove_disabled_monitors\fR
 .RS 4
 Consider disabled monitors as disconnected\&.
@@ -1226,18 +1175,43 @@ Merge overlapping monitors (the bigger remains)\&.
 .RS 4
 Padding space added at the sides of the monitor or desktop\&.
 .RE
-.SS "Default, Desktop Default and Window Settings"
+.SS "Desktop Settings"
+.PP
+\fIwindow_gap\fR
+.RS 4
+Size of the gap that separates windows\&.
+.RE
+.SS "Node Settings"
 .PP
 \fIborder_width\fR
 .RS 4
 Window border width\&.
 .RE
-.SS "Default and Desktop Settings"
+.SH "POINTER BINDINGS"
 .PP
-\fIwindow_gap\fR
+\fIbutton1\fR
 .RS 4
-Size of the gap that separates windows\&.
+Focus the window under the pointer if
+\fIclick_to_focus\fR
+is set\&.
+.RE
+.PP
+\fIpointer_modifier\fR + \fIbutton1\fR
+.RS 4
+Move the window under the pointer\&.
+.RE
+.PP
+\fIpointer_modifier\fR + \fIbutton2\fR
+.RS 4
+Resize the window under the pointer by dragging the nearest side\&.
+.RE
+.PP
+\fIpointer_modifier\fR + \fIbutton3\fR
+.RS 4
+Resize the window under the pointer by dragging the nearest corner\&.
 .RE
+.sp
+The behavior of \fIpointer_modifier\fR + \fIbutton<n>\fR can be modified through the \fIpointer_action<n>\fR setting\&.
 .SH "EVENTS"
 .PP
 \fIreport\fR
@@ -1245,115 +1219,140 @@ Size of the gap that separates windows\&.
 See the next section for the description of the format\&.
 .RE
 .PP
-\fImonitor_add <monitor_name> <monitor_id> <monitor_geometry>\fR
+\fImonitor_add <monitor_id> <monitor_name> <monitor_geometry>\fR
 .RS 4
 A monitor is added\&.
 .RE
 .PP
-\fImonitor_rename <old_name> <new_name>\fR
+\fImonitor_rename <monitor_id> <old_name> <new_name>\fR
 .RS 4
 A monitor is renamed\&.
 .RE
 .PP
-\fImonitor_remove <monitor_name>\fR
+\fImonitor_remove <monitor_id>\fR
 .RS 4
 A monitor is removed\&.
 .RE
 .PP
-\fImonitor_focus <monitor_name>\fR
+\fImonitor_swap <src_monitor_id> <dst_monitor_id>\fR
+.RS 4
+A monitor is swapped\&.
+.RE
+.PP
+\fImonitor_focus <monitor_id>\fR
 .RS 4
 A monitor is focused\&.
 .RE
 .PP
-\fImonitor_geometry <monitor_name> <monitor_geometry>\fR
+\fImonitor_geometry <monitor_id> <monitor_geometry>\fR
 .RS 4
 The geometry of a monitor changed\&.
 .RE
 .PP
-\fIdesktop_add <monitor_name> <desktop_name>\fR
+\fIdesktop_add <monitor_id> <desktop_id> <desktop_name>\fR
 .RS 4
 A desktop is added\&.
 .RE
 .PP
-\fIdesktop_rename <monitor_name> <old_name> <new_name>\fR
+\fIdesktop_rename <monitor_id> <desktop_id> <old_name> <new_name>\fR
 .RS 4
 A desktop is renamed\&.
 .RE
 .PP
-\fIdesktop_remove <monitor_name> <desktop_name>\fR
+\fIdesktop_remove <monitor_id> <desktop_id>\fR
 .RS 4
 A desktop is removed\&.
 .RE
 .PP
-\fIdesktop_swap <src_monitor_name> <src_desktop_name> <dst_monitor_name> <dst_desktop_name>\fR
+\fIdesktop_swap <src_monitor_id> <src_desktop_id> <dst_monitor_id> <dst_desktop_id>\fR
 .RS 4
 A desktop is swapped\&.
 .RE
 .PP
-\fIdesktop_transfer <src_monitor_name> <src_desktop_name> <dst_monitor_name>\fR
+\fIdesktop_transfer <src_monitor_id> <src_desktop_id> <dst_monitor_id>\fR
 .RS 4
 A desktop is transferred\&.
 .RE
 .PP
-\fIdesktop_focus <monitor_name> <desktop_name>\fR
+\fIdesktop_focus <monitor_id> <desktop_id>\fR
 .RS 4
 A desktop is focused\&.
 .RE
 .PP
-\fIdesktop_layout <monitor_name> <desktop_name> tiled|monocle\fR
+\fIdesktop_activate <monitor_id> <desktop_id>\fR
+.RS 4
+A desktop is activated\&.
+.RE
+.PP
+\fIdesktop_layout <monitor_id> <desktop_id> tiled|monocle\fR
 .RS 4
 The layout of a desktop changed\&.
 .RE
 .PP
-\fIwindow_manage <monitor_name> <desktop_name> <window_id> <ip_id>\fR
+\fInode_manage <monitor_id> <desktop_id> <node_id> <ip_id>\fR
 .RS 4
 A window is managed\&.
 .RE
 .PP
-\fIwindow_unmanage <monitor_name> <desktop_name> <window_id>\fR
+\fInode_unmanage <monitor_id> <desktop_id> <node_id>\fR
 .RS 4
 A window is unmanaged\&.
 .RE
 .PP
-\fIwindow_swap <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>\fR
+\fInode_swap <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
+.RS 4
+A node is swapped\&.
+.RE
+.PP
+\fInode_transfer <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
 .RS 4
-A window is swapped\&.
+A node is transferred\&.
 .RE
 .PP
-\fIwindow_transfer <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>\fR
+\fInode_focus <monitor_id> <desktop_id> <node_id>\fR
 .RS 4
-A window is transferred\&.
+A node is focused\&.
 .RE
 .PP
-\fIwindow_focus <monitor_name> <desktop_name> <window_id>\fR
+\fInode_activate <monitor_id> <desktop_id> <node_id>\fR
 .RS 4
-A window is focused\&.
+A node is activated\&.
 .RE
 .PP
-\fIwindow_activate <monitor_name> <desktop_name> <window_id>\fR
+\fInode_presel <monitor_id> <desktop_id> <node_id> (dir DIR|ratio RATIO|cancel)\fR
 .RS 4
-A window is activated\&.
+A node is preselected\&.
 .RE
 .PP
-\fIwindow_geometry <monitor_name> <desktop_name> <window_id> <window_geometry>\fR
+\fInode_stack <node_id_1> below|above <node_id_2>\fR
+.RS 4
+A node is stacked below or above another node\&.
+.RE
+.PP
+\fInode_geometry <monitor_id> <desktop_id> <node_id> <node_geometry>\fR
 .RS 4
 The geometry of a window changed\&.
 .RE
 .PP
-\fIwindow_state <monitor_name> <desktop_name> <window_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
+\fInode_state <monitor_id> <desktop_id> <node_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
 .RS 4
 The state of a window changed\&.
 .RE
 .PP
-\fIwindow_flag <monitor_name> <desktop_name> <window_id> sticky|private|locked|urgent on|off\fR
+\fInode_flag <monitor_id> <desktop_id> <node_id> hidden|sticky|private|locked|urgent on|off\fR
 .RS 4
-One of the flags of a window changed\&.
+One of the flags of a node changed\&.
 .RE
 .PP
-\fIwindow_layer <monitor_name> <desktop_name> <window_id> below|normal|above\fR
+\fInode_layer <monitor_id> <desktop_id> <node_id> below|normal|above\fR
 .RS 4
 The layer of a window changed\&.
 .RE
+.PP
+\fIpointer_action <monitor_id> <desktop_id> <node_id> move|resize_corner|resize_side begin|end\fR
+.RS 4
+A pointer action occured\&.
+.RE
 .sp
 Please note that \fBbspwm\fR initializes monitors before it reads messages on its socket, therefore the initial monitor events can\(cqt be received\&.
 .SH "REPORT FORMAT"
@@ -1406,6 +1405,16 @@ Urgent unfocused desktop\&.
 .RS 4
 Layout of the focused desktop of a monitor\&.
 .RE
+.PP
+\fIT(T|P|F|=|@)\fR
+.RS 4
+State of the focused node of a focused desktop\&.
+.RE
+.PP
+\fIG(S?P?L?)\fR
+.RS 4
+Active flags of the focused node of a focused desktop\&.
+.RE
 .SH "ENVIRONMENT VARIABLES"
 .PP
 \fIBSPWM_SOCKET\fR