]> git.lizzy.rs Git - bspwm.git/blobdiff - doc/bspwm.1
Remove settings: auto_cancel and auto_alternate
[bspwm.git] / doc / bspwm.1
index 1b5726fd6b61b895480eb0130261c85025af9094..de3825f632fe294eac7bf8e68beeb52e71696ee9 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: bspwm
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 10/10/2013
+.\"      Date: 11/26/2015
 .\"    Manual: Bspwm Manual
-.\"    Source: Bspwm 0.8.5
+.\"    Source: Bspwm 0.9
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "10/10/2013" "Bspwm 0\&.8\&.5" "Bspwm Manual"
+.TH "BSPWM" "1" "11/26/2015" "Bspwm 0\&.9" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -31,7 +31,7 @@
 bspwm \- Binary space partitioning window manager
 .SH "SYNOPSIS"
 .sp
-\fBbspwm\fR [\fB\-h\fR|\fB\-v\fR|\fB\-c\fR \fICONFIG_PATH\fR|\fB\-s\fR \fIPANEL_FIFO\fR|\fB\-p\fR \fIPANEL_PREFIX\fR]
+\fBbspwm\fR [\fB\-h\fR|\fB\-v\fR|\fB\-c\fR \fICONFIG_PATH\fR]
 .sp
 \fBbspc\fR \fICOMMAND\fR [\fIARGUMENTS\fR]
 .SH "DESCRIPTION"
@@ -55,92 +55,6 @@ Print the version and exit\&.
 .RS 4
 Use the given configuration file\&.
 .RE
-.PP
-\fB\-s\fR \fIPANEL_FIFO\fR
-.RS 4
-Write the internal state to the given FIFO\&.
-.RE
-.PP
-\fB\-p\fR \fIPANEL_PREFIX\fR
-.RS 4
-Start every line written to the
-\fIPANEL_FIFO\fR
-with the given prefix\&.
-.RE
-.SH "CONFIGURATION"
-.sp
-\fBbspwm\fR has only two sources of informations: the X events it receives and the messages it reads on a dedicated socket\&.
-.sp
-The default configuration file is \fI$XDG_CONFIG_HOME/bspwm/bspwmrc\fR\&.
-.sp
-Keyboard and pointer bindings are defined with sxhkd\&.
-.sp
-Example configuration files can be found in the \fBexamples\fR directory\&.
-.SH "SPLITTING MODES"
-.sp
-New windows are inserted in the tree as close as possible to the focused window\&.
-.sp
-There is only two splitting modes: \fIautomatic\fR and \fImanual\fR\&.
-.sp
-The default mode is \fIautomatic\fR\&. The \fImanual\fR mode is entered by sending a \fBpreselection\fR message\&.
-.sp
-Example: insertion of a new node (number 4) into the given tree in \fIautomatic\fR mode:
-.sp
-.if n \{\
-.RS 4
-.\}
-.nf
-              b                                   c
-             / \e                                 / \e
-            3   a              \-\->              4   b
-            ^  / \e                              ^  / \e
-              2   1                               3   a
-                                                     / \e
-                                                    2   1
- +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+         +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
- |            |            |         |            |            |
- |            |     2      |         |            |     3      |
- |            |            |         |            |            |
- |     3      |\-\-\-\-\-\-\-\-\-\-\-\-|   \-\->   |     4      |\-\-\-\-\-\-\-\-\-\-\-\-|
- |     ^      |            |         |     ^      |     |      |
- |            |     1      |         |            |  1  |  2   |
- |            |            |         |            |     |      |
- +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+         +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
-.fi
-.if n \{\
-.RE
-.\}
-.sp
-Same departure, but the mode is \fImanual\fR, and a \fBwindow \-\-presel up\fR message was sent beforehand:
-.sp
-.if n \{\
-.RS 4
-.\}
-.nf
-             b                                   b
-            / \e                                 / \e
-           3   a              \-\->              c   a
-           ^  / \e                             / \e / \e
-             2   1                           4  3 2  1
-                                             ^
-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+         +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
-|            |            |         |            |            |
-|            |     2      |         |     4      |     2      |
-|            |            |         |     ^      |            |
-|     3      |\-\-\-\-\-\-\-\-\-\-\-\-|   \-\->   |\-\-\-\-\-\-\-\-\-\-\-\-|\-\-\-\-\-\-\-\-\-\-\-\-|
-|     ^      |            |         |            |            |
-|            |     1      |         |     3      |     1      |
-|            |            |         |            |            |
-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+         +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
-.fi
-.if n \{\
-.RE
-.\}
-.SH "CONTAINERS"
-.sp
-Each monitor contains at least one desktop\&.
-.sp
-Each desktop contains at most one tree\&.
 .SH "COMMON DEFINITIONS"
 .sp
 .if n \{\
@@ -169,7 +83,9 @@ PRIMARY_SELECTOR[\&.MODIFIER]*
 .RE
 .\}
 .sp
-For obvious reasons, neither desktops nor monitors names may be valid descriptive selectors\&.
+For obvious reasons, neither desktop nor monitor names may be valid descriptive selectors\&.
+.sp
+An exclamation mark can be prepended to certain modifiers in order to reverse their meaning\&.
 .SS "Window"
 .sp
 Select a window\&.
@@ -178,8 +94,7 @@ Select a window\&.
 .RS 4
 .\}
 .nf
-WINDOW_SEL := <window_id>
-            | (DIR|CYCLE_DIR|biggest|last|focused|older|newer)[\&.floating|\&.tiled][\&.like|\&.unlike][\&.manual][\&.urgent][\&.local]
+WINDOW_SEL := (<window_id>|DIR|CYCLE_DIR|biggest|last|focused|older|newer)[\&.[!]automatic][\&.[!](tiled|pseudo_tiled|floating|fullscreen)][\&.[!](below|normal|above)][\&.[!]local][\&.[!]same_class][\&.[!]focused][\&.[!](urgent|sticky|private|locked)]
 .fi
 .if n \{\
 .RE
@@ -237,40 +152,39 @@ Selects the window newer than the focused window in the history\&.
 \fBModifiers\fR
 .RS 4
 .PP
-floating
+[!](tiled|pseudo_tiled|floating|fullscreen)
 .RS 4
-Only consider floating windows\&.
+Only consider windows having or not having the given state\&.
 .RE
 .PP
-tiled
+[!]automatic
 .RS 4
-Only consider tiled windows\&.
+Only consider windows in automatic or manual insertion mode\&.
 .RE
 .PP
-like
+[!]focused
 .RS 4
-Only consider windows that have the same class as the current window\&.
+Only consider focused or unfocused windows\&.
 .RE
 .PP
-unlike
+[!]same_class
 .RS 4
-Only consider windows that have a different class than the current window\&.
+Only consider windows that have or don\(cqt have the same class as the current window\&.
 .RE
 .PP
-manual
+[!]local
 .RS 4
-Only consider windows in manual splitting mode (see
-\fB\-\-presel\fR)\&.
+Only consider windows in or not in the current desktop\&.
 .RE
 .PP
-local
+[!](private|urgent|sticky|locked)
 .RS 4
-Only consider windows of the current desktop\&.
+Only consider windows that have or don\(cqt have the given flag set\&.
 .RE
 .PP
-urgent
+[!](below|normal|above)
 .RS 4
-Only consider urgent windows\&.
+Only consider windows in or not in the given layer\&.
 .RE
 .RE
 .SS "Desktop"
@@ -281,9 +195,7 @@ Select a desktop\&.
 .RS 4
 .\}
 .nf
-DESKTOP_SEL := <desktop_name>
-             | ^<n>
-             | (CYCLE_DIR|last|focused|older|newer)[\&.occupied|\&.free][\&.urgent][\&.local]
+DESKTOP_SEL := (<desktop_name>|[MONITOR_SEL:](focused|^<n>)CYCLE_DIR|last|older|newer)[\&.[!]occupied][\&.[!]focused][\&.[!]urgent][\&.[!]local]
 .fi
 .if n \{\
 .RE
@@ -341,24 +253,24 @@ Selects the desktop newer than the focused desktop in the history\&.
 \fBModifiers\fR
 .RS 4
 .PP
-occupied
+[!]occupied
 .RS 4
-Only consider occupied desktops\&.
+Only consider occupied or free desktops\&.
 .RE
 .PP
-free
+[!]focused
 .RS 4
-Only consider free desktops\&.
+Only consider focused or unfocused desktops\&.
 .RE
 .PP
-urgent
+[!]urgent
 .RS 4
-Only consider urgent desktops\&.
+Only consider urgent or non urgent desktops\&.
 .RE
 .PP
-local
+[!]local
 .RS 4
-Only consider desktops of the current monitor\&.
+Only consider inside or outside of the current monitor\&.
 .RE
 .RE
 .SS "Monitor"
@@ -369,9 +281,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_name>|^<n>|DIR|CYCLE_DIR|last|primary|focused|older|newer)[\&.[!]occupied][\&.[!]focused]
 .fi
 .if n \{\
 .RE
@@ -439,16 +349,65 @@ 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 or free\&.
+.RE
+.PP
+[!]focused
+.RS 4
+Only consider focused or unfocused monitors\&.
+.RE
+.RE
+.SH "WINDOW STATES"
+.PP
+tiled
+.RS 4
+Its size and position are determined by the splitting type and ratio of each node of its path in the window tree\&.
+.RE
+.PP
+pseudo_tiled
+.RS 4
+Has an unrestricted size while being centered in its tiling space\&.
+.RE
+.PP
+floating
+.RS 4
+Can be moved/resized freely\&. Although it doesn\(cqt occupy any tiling space, it is still part of the window tree\&.
+.RE
+.PP
+fullscreen
+.RS 4
+Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer by default\&.
+.RE
+.SH "WINDOW FLAGS"
+.PP
+locked
+.RS 4
+Ignores the
+\fBwindow \-\-close\fR
+message\&.
+.RE
+.PP
+sticky
 .RS 4
-Only consider monitors where the focused desktop is occupied\&.
+Stays in the focused desktop of its monitor\&.
 .RE
 .PP
-free
+private
 .RS 4
-Only consider monitors where the focused desktop is free\&.
+Tries to keep the same tiling position/size\&.
 .RE
+.PP
+urgent
+.RS 4
+Has its urgency hint set\&. This flag is set externally\&.
 .RE
+.SH "STACKING LAYERS"
+.sp
+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"
 .sp
@@ -476,6 +435,11 @@ window [\fIWINDOW_SEL\fR] \fIOPTIONS\fR
 Focus the selected or given window\&.
 .RE
 .PP
+\fB\-a\fR, \fB\-\-activate\fR [\fIWINDOW_SEL\fR]
+.RS 4
+Activate the selected or given window\&.
+.RE
+.PP
 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR
 .RS 4
 Send the selected window to the given desktop\&.
@@ -508,9 +472,9 @@ Set the splitting ratio of the selected window (0 <
 < 1)\&.
 .RE
 .PP
-\fB\-e\fR, \fB\-\-edge\fR \fIDIR\fR \fIRATIO\fR|pull|push
+\fB\-e\fR, \fB\-\-edge\fR \fIDIR\fR \fIRATIO\fR|\(+-\fIPIXELS\fR
 .RS 4
-Set the splitting ratio (or pull, or push) the edge located in the given direction in relation to the selected window\&.
+Set or change the splitting ratio of the edge located in the given direction in relation to the selected window\&.
 .RE
 .PP
 \fB\-R\fR, \fB\-\-rotate\fR \fIDIR\fR \fI90|270|180\fR
@@ -518,9 +482,19 @@ Set the splitting ratio (or pull, or push) the edge located in the given directi
 Rotate the tree holding the edge located in the given direction in relation to the selected window\&.
 .RE
 .PP
-\fB\-t\fR, \fB\-\-toggle\fR floating|fullscreen|locked|sticky|visible[=on|off]
+\fB\-t\fR, \fB\-\-state\fR tiled|pseudo_tiled|floating|fullscreen
 .RS 4
-Set or toggle the given state for the selected window\&.
+Set the state of the selected window\&.
+.RE
+.PP
+\fB\-g\fR, \fB\-\-flag\fR locked|sticky|private[=on|off]
+.RS 4
+Set or toggle the given flag for the selected window\&.
+.RE
+.PP
+\fB\-l\fR, \fB\-\-layer\fR below|normal|above
+.RS 4
+Set the stacking layer of the selected window\&.
 .RE
 .PP
 \fB\-c\fR, \fB\-\-close\fR
@@ -579,6 +553,11 @@ Rename the selected desktop\&.
 Swap the selected desktop with the given desktop\&.
 .RE
 .PP
+\fB\-b\fR, \fB\-\-bubble\fR \fICYCLE_DIR\fR
+.RS 4
+Bubble the selected desktop in the given direction\&.
+.RE
+.PP
 \fB\-r\fR, \fB\-\-remove\fR
 .RS 4
 Remove the selected desktop\&.
@@ -599,6 +578,11 @@ Flip the tree of the selected desktop\&.
 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\&.
@@ -645,88 +629,24 @@ Create desktops with the given names in the selected monitor\&.
 Remove desktops with the given names\&.
 .RE
 .PP
-\fB\-n\fR, \fB\-\-rename\fR <new_name>
+\fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
 .RS 4
-Rename the selected monitor\&.
+Reorder the desktops of the selected monitor to match the given order\&.
 .RE
 .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\&.
-.RE
-.PP
-\fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
-.RS 4
-Swap the selected monitor with the given monitor\&.
-.RE
-.RE
-.SS "Tag"
-.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
-tag \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\-l\fR, \fB\-\-list\fR
-.RS 4
-List the tags\&.
+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\&.
 .RE
 .PP
-\fB\-a\fR, \fB\-\-add\fR <name>\&...
-.RS 4
-Create tags with the given names\&.
-.RE
-.PP
-\fB\-r\fR, \fB\-\-remove\fR <name>|^<n>\&...
-.RS 4
-Remove tags with the given names or indexes\&.
-.RE
-.PP
-\fB\-e\fR, \fB\-\-enumerate\-tags\fR <name>\&...
-.RS 4
-Rename, add or remove tags depending on whether the number of given names is equal, superior or inferior to the number of existing tags\&.
-.RE
-.PP
-\fB\-d\fR, \fB\-\-desktop\fR \fIDESKTOP_SEL\fR
-.RS 4
-Select the given desktop as target for the
-\fB\-s\fR
-and
-\fB\-t\fR
-options\&.
-.RE
-.PP
-\fB\-w\fR, \fB\-\-window\fR \fIWINDOW_SEL\fR
-.RS 4
-Select the given window as target for the
-\fB\-s\fR
-and
-\fB\-t\fR
-options\&.
-.RE
-.PP
-\fB\-s\fR, \fB\-\-set\-tags\fR (<name>|^<n>\&...)|all
+\fB\-n\fR, \fB\-\-rename\fR <new_name>
 .RS 4
-Set the tags of the selected object\&.
+Rename the selected monitor\&.
 .RE
 .PP
-\fB\-t\fR, \fB\-\-toggle\-tags\fR (<name>|^<n>)[=on|off]\&...
+\fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
 .RS 4
-Toggle the tags of the selected object\&.
+Swap the selected monitor with the given monitor\&.
 .RE
 .RE
 .SS "Query"
@@ -752,27 +672,27 @@ query \fIOPTIONS\fR
 .PP
 \fB\-W\fR, \fB\-\-windows\fR
 .RS 4
-List matching windows\&.
+List the IDs of the matching windows\&.
 .RE
 .PP
 \fB\-D\fR, \fB\-\-desktops\fR
 .RS 4
-List matching desktops\&.
+List the names of the matching desktops\&.
 .RE
 .PP
 \fB\-M\fR, \fB\-\-monitors\fR
 .RS 4
-List matching monitors\&.
+List the names of the matching monitors\&.
 .RE
 .PP
 \fB\-T\fR, \fB\-\-tree\fR
 .RS 4
-Print tree rooted at query\&.
+Print a JSON representation of the matching item\&.
 .RE
 .PP
 \fB\-H\fR, \fB\-\-history\fR
 .RS 4
-Print the history as it relates to the query\&.
+Print the focus history as it relates to the query\&.
 .RE
 .PP
 \fB\-S\fR, \fB\-\-stack\fR
@@ -847,11 +767,6 @@ control \fIOPTIONS\fR
 Manage all the unmanaged windows remaining from a previous session\&.
 .RE
 .PP
-\fB\-\-put\-status\fR
-.RS 4
-Write the current internal state to the panel FIFO\&.
-.RE
-.PP
 \fB\-\-toggle\-visibility\fR
 .RS 4
 Toggle the visibility of all the windows\&.
@@ -861,6 +776,18 @@ Toggle the visibility of all the windows\&.
 .RS 4
 Enable or disable the recording of window focus history\&.
 .RE
+.PP
+\fB\-\-subscribe\fR (all|report|monitor|desktop|window|\&...)*
+.RS 4
+Continuously print status information\&. See the
+\fBEVENTS\fR
+section for the detailed description of each event\&.
+.RE
+.PP
+\fB\-\-get\-status\fR
+.RS 4
+Print the current status information\&.
+.RE
 .RE
 .SS "Pointer"
 .sp
@@ -883,14 +810,19 @@ pointer \fIOPTIONS\fR
 \fBOptions\fR
 .RS 4
 .PP
+\fB\-g\fR, \fB\-\-grab\fR focus|move|resize_side|resize_corner
+.RS 4
+Initiate the given pointer action\&.
+.RE
+.PP
 \fB\-t\fR, \fB\-\-track\fR <x> <y>
 .RS 4
 Pass the pointer root coordinates for the current pointer action\&.
 .RE
 .PP
-\fB\-g\fR, \fB\-\-grab\fR focus|move|resize_side|resize_corner
+\fB\-u\fR, \fB\-\-ungrab\fR
 .RS 4
-Perform the given pointer action\&.
+Terminate the current pointer action\&.
 .RE
 .RE
 .SS "Rule"
@@ -914,17 +846,17 @@ rule \fIOPTIONS\fR
 \fBOptions\fR
 .RS 4
 .PP
-\fB\-a\fR, \fB\-\-add\fR <class_name>|<instance_name> [\-d \fIDESKTOP_SEL\fR [\-\-follow]] [\-\-tags <name>|^<n>[,\&...]][\-\-floating] [\-\-fullscreen] [\-\-locked] [\-\-sticky] [\-\-focus] [\-\-frame] [\-\-unmanage] [\-\-one\-shot]
+\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 <name>|^<n>|tail|head\&...
+\fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|<class_name>|<instance_name>|*\&...
 .RS 4
-Remove the rules with the given names or indexes\&.
+Remove the given rules\&.
 .RE
 .PP
-\fB\-l\fR, \fB\-\-list\fR [<name>]
+\fB\-l\fR, \fB\-\-list\fR [<class_name>|<instance_name>|*]
 .RS 4
 List the rules\&.
 .RE
@@ -939,7 +871,7 @@ List the rules\&.
 \fBGeneral Syntax\fR
 .RS 4
 .PP
-config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR] <key> [<value>]
+config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-w \fIWINDOW_SEL\fR] <key> [<value>]
 .RS 4
 Get or set the value of <key>\&.
 .RE
@@ -959,11 +891,29 @@ quit [<status>]
 Quit with an optional exit status\&.
 .RE
 .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
 .SH "SETTINGS"
 .sp
-Colors are either X color names or \fI#RRGGBB\fR, booleans are \fItrue\fR or \fIfalse\fR\&.
+Colors are either \fI#RRGGBB\fR or X color names, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
 .sp
-All the boolean settings are \fIfalse\fR by default\&.
+All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
 .SS "Global Settings"
 .PP
 \fIfocused_border_color\fR
@@ -984,7 +934,7 @@ Color of the border of an unfocused window\&.
 \fIpresel_border_color\fR
 .RS 4
 Color of the
-\fBpresel\fR
+\fBwindow \-\-presel\fR
 message feedback\&.
 .RE
 .PP
@@ -1018,24 +968,24 @@ Color of the border of a focused sticky window of an unfocused monitor\&.
 Color of the border of an unfocused sticky window\&.
 .RE
 .PP
-\fIurgent_border_color\fR
+\fIfocused_private_border_color\fR
 .RS 4
-Color of the border of an urgent window\&.
+Color of the border of a focused private window of a focused monitor\&.
 .RE
 .PP
-\fIfocused_frame_opacity\fR
+\fIactive_private_border_color\fR
 .RS 4
-Opacity of a focused frame of a focused monitor\&.
+Color of the border of a focused private window of an unfocused monitor\&.
 .RE
 .PP
-\fIactive_frame_opacity\fR
+\fInormal_private_border_color\fR
 .RS 4
-Opacity of a focused frame of an unfocused monitor\&.
+Color of the border of an unfocused private window\&.
 .RE
 .PP
-\fInormal_frame_opacity\fR
+\fIurgent_border_color\fR
 .RS 4
-Opacity of an unfocused frame\&.
+Color of the border of an urgent window\&.
 .RE
 .PP
 \fIsplit_ratio\fR
@@ -1043,9 +993,25 @@ Opacity of an unfocused frame\&.
 Default split ratio\&.
 .RE
 .PP
-\fIgrowth_factor\fR
+\fIstatus_prefix\fR
 .RS 4
-Intensity of the growth involved in pulling or pushing an edge\&.
+Prefix prepended to each of the status lines\&.
+.RE
+.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:
+\fBkey1=value1 key2=value2 \&...\fR
+(the valid key/value pairs are given in the description of the
+\fIrule\fR
+command)\&.
+.RE
+.PP
+\fIinitial_polarity\fR
+.RS 4
+On which child should a new window be attached when adding a window on a single window tree in automatic mode\&. Accept the following values:
+\fBfirst_child\fR,
+\fBsecond_child\fR\&.
 .RE
 .PP
 \fIhistory_aware_focus\fR
@@ -1053,14 +1019,30 @@ Intensity of the growth involved in pulling or pushing an edge\&.
 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 for tiled windows in monocle mode\&.
+Remove borders of tiled windows for the
+\fBmonocle\fR
+desktop layout\&.
 .RE
 .PP
 \fIgapless_monocle\fR
 .RS 4
-Remove gaps for tiled windows in monocle mode\&.
+Remove gaps of tiled windows for the
+\fBmonocle\fR
+desktop layout\&.
+.RE
+.PP
+\fIleaf_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
@@ -1068,141 +1050,236 @@ Remove gaps for tiled windows in monocle mode\&.
 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
-\fIauto_alternate\fR
+\fIignore_ewmh_focus\fR
 .RS 4
-Interpret two consecutive identical
-\fBuse\fR
-messages as an
-\fBalternate\fR
-message\&.
+Ignore EWMH focus requests coming from applications\&.
 .RE
 .PP
-\fIauto_cancel\fR
+\fIcenter_pseudo_tiled\fR
 .RS 4
-Interpret two consecutive identical
-\fBpresel\fR
-messages as a
-\fBcancel\fR
-message\&.
+Center pseudo tiled windows into their tiling rectangles\&. Defaults to
+\fItrue\fR\&.
+.RE
+.PP
+\fIremove_disabled_monitors\fR
+.RS 4
+Consider disabled monitors as disconnected\&.
 .RE
 .PP
-\fIapply_floating_atom\fR
+\fIremove_unplugged_monitors\fR
 .RS 4
-Set the value of the
-\fI_BSPWM_FLOATING_WINDOW\fR
-atom of each window according to its floating state\&.
+Remove unplugged monitors\&.
 .RE
 .PP
-\fIhonor_ewmh_focus\fR
+\fImerge_overlapping_monitors\fR
 .RS 4
-Honor EWMH requests to focus a window\&.
+Merge overlapping monitors (the bigger remains)\&.
 .RE
-.SS "Monitor Settings"
+.SS "Monitor and Desktop Settings"
 .PP
 \fItop_padding\fR, \fIright_padding\fR, \fIbottom_padding\fR, \fIleft_padding\fR
 .RS 4
-Padding space added at the sides of the monitor\&.
+Padding space added at the sides of the monitor or desktop\&.
+.RE
+.SS "Default, Desktop Default and Window Settings"
+.PP
+\fIborder_width\fR
+.RS 4
+Window border width\&.
 .RE
-.SS "Desktop Settings"
+.SS "Default and Desktop Settings"
 .PP
 \fIwindow_gap\fR
 .RS 4
 Size of the gap that separates windows\&.
 .RE
+.SH "EVENTS"
 .PP
-\fIborder_width\fR
+\fIreport\fR
 .RS 4
-Window border width\&.
+See the next section for the description of the format\&.
 .RE
-.SH "ENVIRONMENT VARIABLES"
 .PP
-\fIBSPWM_SOCKET\fR
+\fImonitor_add <monitor_name> <monitor_id> <monitor_geometry>\fR
 .RS 4
-The path of the socket used for the communication between
-\fBbspc\fR
-and
-\fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
-\fI/tmp/bspwm\-socket\fR\&.
+A monitor is added\&.
 .RE
-.SH "PANELS"
-.sp
+.PP
+\fImonitor_rename <old_name> <new_name>\fR
 .RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Any EWMH compliant panel (e\&.g\&.:
-\fItint2\fR,
-\fIbmpanel2\fR, etc\&.)\&.
+A monitor is renamed\&.
 .RE
-.sp
+.PP
+\fImonitor_remove <monitor_name>\fR
 .RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-A custom panel if the
-\fI\-s\fR
-flag is used (have a look at the files in
-\fIexamples/panel\fR)\&.
+A monitor is removed\&.
 .RE
-.SH "KEY FEATURES"
-.sp
+.PP
+\fImonitor_focus <monitor_name>\fR
 .RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Configured and controlled through messages\&.
+A monitor is focused\&.
 .RE
-.sp
+.PP
+\fImonitor_geometry <monitor_name> <monitor_geometry>\fR
 .RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Multiple monitors support (via
-\fIRandR\fR)\&.
+The geometry of a monitor changed\&.
 .RE
-.sp
+.PP
+\fIdesktop_add <monitor_name> <desktop_name>\fR
 .RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-EWMH support (\fBtint2\fR
-works)\&.
+A desktop is added\&.
+.RE
+.PP
+\fIdesktop_rename <monitor_name> <old_name> <new_name>\fR
+.RS 4
+A desktop is renamed\&.
+.RE
+.PP
+\fIdesktop_remove <monitor_name> <desktop_name>\fR
+.RS 4
+A desktop is removed\&.
+.RE
+.PP
+\fIdesktop_swap <src_monitor_name> <src_desktop_name> <dst_monitor_name> <dst_desktop_name>\fR
+.RS 4
+A desktop is swapped\&.
 .RE
+.PP
+\fIdesktop_transfer <src_monitor_name> <src_desktop_name> <dst_monitor_name>\fR
+.RS 4
+A desktop is transferred\&.
+.RE
+.PP
+\fIdesktop_focus <monitor_name> <desktop_name>\fR
+.RS 4
+A desktop is focused\&.
+.RE
+.PP
+\fIdesktop_layout <monitor_name> <desktop_name> tiled|monocle\fR
+.RS 4
+The layout of a desktop changed\&.
+.RE
+.PP
+\fIwindow_manage <monitor_name> <desktop_name> <window_id> <ip_id>\fR
+.RS 4
+A window is managed\&.
+.RE
+.PP
+\fIwindow_unmanage <monitor_name> <desktop_name> <window_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
+.RS 4
+A window is swapped\&.
+.RE
+.PP
+\fIwindow_transfer <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>\fR
+.RS 4
+A window is transferred\&.
+.RE
+.PP
+\fIwindow_focus <monitor_name> <desktop_name> <window_id>\fR
+.RS 4
+A window is focused\&.
+.RE
+.PP
+\fIwindow_activate <monitor_name> <desktop_name> <window_id>\fR
+.RS 4
+A window is activated\&.
+.RE
+.PP
+\fIwindow_geometry <monitor_name> <desktop_name> <window_id> <window_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
+.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
+.RS 4
+One of the flags of a window changed\&.
+.RE
+.PP
+\fIwindow_layer <monitor_name> <desktop_name> <window_id> below|normal|above\fR
+.RS 4
+The layer of a window changed\&.
+.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"
 .sp
+Each report event message is composed of items separated by colons\&.
+.sp
+Each item has the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
+.PP
+\fIM<monitor_name>\fR
 .RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Hybrid tiling\&.
+Focused monitor\&.
+.RE
+.PP
+\fIm<monitor_name>\fR
+.RS 4
+Unfocused monitor\&.
+.RE
+.PP
+\fIO<desktop_name>\fR
+.RS 4
+Occupied focused desktop\&.
+.RE
+.PP
+\fIo<desktop_name>\fR
+.RS 4
+Occupied unfocused desktop\&.
+.RE
+.PP
+\fIF<desktop_name>\fR
+.RS 4
+Free focused desktop\&.
+.RE
+.PP
+\fIf<desktop_name>\fR
+.RS 4
+Free unfocused desktop\&.
+.RE
+.PP
+\fIU<desktop_name>\fR
+.RS 4
+Urgent focused desktop\&.
+.RE
+.PP
+\fIu<desktop_name>\fR
+.RS 4
+Urgent unfocused desktop\&.
+.RE
+.PP
+\fIL(T|M)\fR
+.RS 4
+Layout of the focused desktop of a monitor\&.
+.RE
+.SH "ENVIRONMENT VARIABLES"
+.PP
+\fIBSPWM_SOCKET\fR
+.RS 4
+The path of the socket used for the communication between
+\fBbspc\fR
+and
+\fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
+\fI/tmp/bspwm<host_name>_<display_number>_<screen_number>\-socket\fR\&.
 .RE
 .SH "CONTRIBUTORS"
 .sp
@@ -1241,6 +1318,3 @@ Ivan Kanakarakis <ivan\&.kanak at gmail\&.com>
 .SH "AUTHOR"
 .sp
 Bastien Dejean <nihilhill at gmail\&.com>
-.SH "MAILING LIST"
-.sp
-bspwm at librelist\&.com