]> git.lizzy.rs Git - bspwm.git/blobdiff - doc/bspwm.1.txt
Remove `apply_floating_atom` setting
[bspwm.git] / doc / bspwm.1.txt
index d4ffb69a1db551b5f129e1a15a96e1a045b3445a..0a841cb582cf40e66b15fa056488e181a1cd19b8 100644 (file)
@@ -29,13 +29,13 @@ Options
 -------
 
 *-h*::
-    Print the synopsis and exit.
+       Print the synopsis and exit.
 
 *-v*::
-    Print the version and exit.
+       Print the version and exit.
 
 *-c* 'CONFIG_PATH'::
-    Use the given configuration file.
+       Use the given configuration file.
 
 Configuration
 -------------
@@ -53,7 +53,7 @@ Splitting Modes
 
 New windows are inserted in the tree as close as possible to the focused window.
 
-There is only two splitting modes: 'automatic' and 'manual'.
+There are only two splitting modes: 'automatic' and 'manual'.
 
 The default mode is 'automatic'. The 'manual' mode is entered by sending a *preselection* message.
 
@@ -78,7 +78,7 @@ Example: insertion of a new node (number 4) into the given tree in 'automatic' m
  +-------------------------+         +-------------------------+
 ----
 
-Same departure, but the mode is 'manual', and a *window --presel up* message was sent beforehand:
+Same action, but the mode is 'manual', and a *window --presel up* message was sent beforehand:
 
 ----
              b                                   b
@@ -122,10 +122,10 @@ can either describe the target relatively or name it globally.
 Descriptive (relative) selectors consist of a primary selector and any number
 of non-conflicting modifiers as follows:
 
-    PRIMARY_SELECTOR[.MODIFIER]*
+       PRIMARY_SELECTOR[.MODIFIER]*
 
-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.
 
 Window
 ~~~~~~
@@ -134,57 +134,116 @@ Select a window.
 
 ----
 WINDOW_SEL := <window_id> 
-            | (DIR|CYCLE_DIR|biggest|last|focused|older|newer)[.floating|.tiled][.like|.unlike][.manual][.urgent][.local]
+            | (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]
 ----
 
 Primary Selectors
 ^^^^^^^^^^^^^^^^^
 
 'DIR'::
-    Selects the window in the given (spacial) direction relative to the active
-    window.
+       Selects the window in the given (spacial) direction relative to the active window.
 
 'CYCLE_DIR'::
-    Selects the window in the given (cyclic) direction.
+       Selects the window in the given (cyclic) direction.
 
 biggest::
-    Selects the biggest window on the current desktop.
+       Selects the biggest window on the current desktop.
 
 last::
-    Selects the previously focused window.
+       Selects the previously focused window.
 
 focused::
-    Selects the currently focused window.
+       Selects the currently focused window.
 
 older::
-    Selects the window older than the focused window in the history.
+       Selects the window older than the focused window in the history.
 
 newer::
-    Selects the window newer than the focused window in the history.
+       Selects the window newer than the focused window in the history.
 
 Modifiers
 ^^^^^^^^^
 
+tiled::
+       Only consider tiled windows.
+
+nontiled::
+       Only consider tiled windows.
+
+pseudotiled::
+       Only consider pseudo-tiled windows.
+
+nonpseudotiled::
+       Only consider non pseudo-tiled windows.
+
 floating::
-    Only consider floating windows.
+       Only consider floating windows.
 
-tiled::
-    Only consider tiled windows.
+nonfloating::
+       Only consider non floating windows.
 
-like::
-    Only consider windows that have the same class as the current window.
-    
-unlike::
-    Only consider windows that have a different class than the current window.
+fullscreen::
+       Only consider fullscreen windows.
+
+nonfullscreen::
+       Only consider non fullscreen windows.
 
 manual::
-    Only consider windows in manual splitting mode (see *--presel*).
+       Only consider windows in manual splitting mode.
+
+automatic::
+       Only consider windows in automatic splitting mode.
+
+focused::
+       Only consider focused windows.
+
+unfocused::
+       Only consider unfocused windows.
+
+below::
+       Only consider windows of the BELOW layer.
+
+normal::
+       Only consider windows of the NORMAL layer.
+
+above::
+       Only consider windows of the ABOVE layer.
+
+like::
+       Only consider windows that have the same class as the current window.
+
+unlike::
+       Only consider windows that have a different class than the current window.
 
 local::
-    Only consider windows of the current desktop.
+       Only consider windows of the current desktop.
+
+foreign::
+       Only consider windows outside of the current desktop.
+
+private::
+       Only consider private windows.
+
+public::
+       Only consider non private windows.
 
 urgent::
-    Only consider urgent windows.
+       Only consider urgent windows.
+
+nonurgent::
+       Only consider non urgent windows.
+
+sticky::
+       Only consider sticky windows.
+
+nonsticky::
+       Only consider non sticky windows.
+
+locked::
+       Only consider locked windows.
+
+unlocked::
+       Only consider non locked windows.
 
 Desktop
 ~~~~~~~
@@ -193,48 +252,54 @@ Select a desktop.
 
 ----
 DESKTOP_SEL := <desktop_name>
-             | ^<n>
-             | (CYCLE_DIR|last|focused|older|newer)[.occupied|.free][.urgent][.local]
+             | [MONITOR_SEL:]^<n>
+             | (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[.occupied|.free][.urgent|.nonurgent][.local|.foreign]
 ----
 
 Primary Selectors
 ^^^^^^^^^^^^^^^^^
 
 <desktop_name>::
-    Selects the desktop with the given name.
+       Selects the desktop with the given name.
 
 ^<n>::
-    Selects the nth desktop.
+       Selects the nth desktop.
 
 'CYCLE_DIR'::
-    Selects the desktop in the given direction relative to the active desktop.
+       Selects the desktop in the given direction relative to the active desktop.
 
 last::
-    Selects the previously focused desktop.
+       Selects the previously focused desktop.
 
 focused::
-    Selects the currently focused desktop.
+       Selects the currently focused desktop.
 
 older::
-    Selects the desktop older than the focused desktop in the history.
+       Selects the desktop older than the focused desktop in the history.
 
 newer::
-    Selects the desktop newer than the focused desktop in the history.
+       Selects the desktop newer than the focused desktop in the history.
 
 Modifiers
 ^^^^^^^^^
 
 occupied::
-    Only consider occupied desktops.
+       Only consider occupied desktops.
 
 free::
-    Only consider free desktops.
+       Only consider free desktops.
 
 urgent::
-    Only consider urgent desktops.
+       Only consider urgent desktops.
+
+nonurgent::
+       Only consider non urgent desktops.
 
 local::
-    Only consider desktops of the current monitor.
+       Only consider desktops of the current monitor.
+
+foreign::
+       Only consider desktops outside of the current monitor.
 
 Monitor
 ~~~~~~~
@@ -251,62 +316,80 @@ Primary Selectors
 ^^^^^^^^^^^^^^^^^
 
 <monitor_name>::
-    Selects the monitor with the given name.
+       Selects the monitor with the given name.
 
 ^<n>::
-    Selects the nth monitor.
+       Selects the nth monitor.
 
 'DIR'::
-    Selects the monitor in the given (spacial) direction relative to the active monitor.
+       Selects the monitor in the given (spacial) direction relative to the active monitor.
 
 'CYCLE_DIR'::
-    Selects the monitor in the given (cyclic) direction relative to the active monitor.
+       Selects the monitor in the given (cyclic) direction relative to the active monitor.
 
 primary::
-    Selects the primary monitor.
+       Selects the primary monitor.
 
 last::
-    Selects the previously focused monitor.
+       Selects the previously focused monitor.
 
 focused::
-    Selects the currently focused monitor.
+       Selects the currently focused monitor.
 
 older::
-    Selects the monitor older than the focused monitor in the history.
+       Selects the monitor older than the focused monitor in the history.
 
 newer::
-    Selects the monitor newer than the focused monitor in the history.
+       Selects the monitor newer than the focused monitor in the history.
 
 Modifiers
 ^^^^^^^^^
 
 occupied::
-    Only consider monitors where the focused desktop is occupied.
+       Only consider monitors where the focused desktop is occupied.
 
 free::
-    Only consider monitors where the focused desktop is free.
+       Only consider monitors where the focused desktop is free.
 
 
 Window States
 -------------
 
-floating::
-    Is above any tiled window and can be moved/resized freely. Although it doesn't occupy any tiling space, it is still part of the window tree.
+tiled::
+       Its size and position are determined by the splitting type and ratio of each node of its path in the window tree.
 
 pseudo_tiled::
-    Has a libre size while being centered in its tiling space.
+       Has an unrestricted size while being centered in its tiling space.
+
+floating::
+       Can be moved/resized freely. Although it doesn't occupy any tiling space, it is still part of the window tree.
 
 fullscreen::
-    Fills its monitor rectangle, is above all the other windows and has no borders.
+       Fills its monitor rectangle and has no borders. It is send in the ABOVE layer by default.
+
+
+Window Flags
+-------------
 
 locked::
-    Ignores the *close* message.
+       Ignores the *close* message.
 
 sticky::
-    Stays in the focused desktop of its monitor.
+       Stays in the focused desktop of its monitor.
 
 private::
-    Tries to keep the same tiling position/size.
+       Tries to keep the same tiling position/size.
+
+urgent::
+       Has its urgency hint set. This flag is set externally.
+
+
+Stacking Layers
+--------------
+
+There's three stacking layers: BELOW, NORMAL and ABOVE.
+
+In each layer, the window are orderered as follow: tiled & pseudo-tiled < fullscreen < floating.
 
 
 Commands
@@ -323,40 +406,49 @@ window ['WINDOW_SEL'] 'OPTIONS'
 Options
 ^^^^^^^
 *-f*, *--focus* ['WINDOW_SEL']::
-    Focus the selected or given window.
+       Focus the selected or given window.
+
+*-a*, *--activate* ['WINDOW_SEL']::
+       Activate the selected or given window.
 
 *-d*, *--to-desktop* 'DESKTOP_SEL'::
-    Send the selected window to the given desktop.
+       Send the selected window to the given desktop.
 
 *-m*, *--to-monitor* 'MONITOR_SEL'::
-    Send the selected window to the given monitor.
+       Send the selected window to the given monitor.
 
 *-w*, *--to-window* 'WINDOW_SEL'::
-    Transplant the selected window to the given window.
+       Transplant the selected window to the given window.
 
 *-s*, *--swap* 'WINDOW_SEL'::
-    Swap the selected window with the given window.
+       Swap the selected window with the given window.
 
 *-p*, *--presel* 'DIR'|cancel::
-    Preselect the splitting area of the selected window (or cancel the preselection).
+       Preselect the splitting area of the selected window (or cancel the preselection).
 
 *-r*, *--ratio* 'RATIO'::
-    Set the splitting ratio of the selected window (0 < 'RATIO' < 1).
+       Set the splitting ratio of the selected window (0 < 'RATIO' < 1).
 
 *-e*, *--edge* 'DIR' 'RATIO'|±'PIXELS'::
-    Set or change the splitting ratio of 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.
 
 *-R*, *--rotate* 'DIR' '90|270|180'::
-    Rotate the tree holding the edge located in the given direction in relation to the selected window.
+       Rotate the tree holding the edge located in the given direction in relation to the selected window.
 
-*-t*, *--toggle* floating|fullscreen|pseudo_tiled|locked|sticky|private[=on|off]::
-    Set or toggle the given state for the selected window.
+*-t*, *--state* tiled|pseudo_tiled|floating|fullscreen::
+       Set the state of the selected window.
+
+*-g*, *--flag* locked|sticky|private[=on|off]::
+       Set or toggle the given flag for the selected window.
+
+*-l*, *--layer* below|normal|above::
+       Set the stacking layer of the selected window.
 
 *-c*, *--close*::
-    Close the selected window.
+       Close the selected window.
 
 *-k*, *--kill*::
-    Kill the selected window.
+       Kill the selected window.
 
 Desktop
 ~~~~~~~
@@ -369,40 +461,43 @@ desktop ['DESKTOP_SEL'] 'OPTIONS'
 Options
 ^^^^^^^
 *-f*, *--focus* ['DESKTOP_SEL']::
-    Focus the selected or given desktop.
+       Focus the selected or given desktop.
 
 *-m*, *--to-monitor* 'MONITOR_SEL'::
-    Send the selected desktop to the given monitor.
+       Send the selected desktop to the given monitor.
 
 *-l*, *--layout* 'CYCLE_DIR'|monocle|tiled::
-    Set or cycle the layout of the selected desktop.
+       Set or cycle the layout of the selected desktop.
 
 *-n*, *--rename* <new_name>::
-    Rename the selected desktop.
+       Rename the selected desktop.
 
 *-s*, *--swap* 'DESKTOP_SEL'::
-    Swap the selected desktop with the given desktop.
+       Swap the selected desktop with the given desktop.
+
+*-b*, *--bubble* 'CYCLE_DIR'::
+       Bubble the selected desktop in the given direction.
 
 *-r*, *--remove*::
-    Remove the selected desktop.
+       Remove the selected desktop.
 
 *-c*, *--cancel-presel*::
-    Cancel the preselection of all the windows of the selected desktop.
+       Cancel the preselection of all the windows of the selected desktop.
 
 *-F*, *--flip* 'horizontal|vertical'::
-    Flip the tree of the selected desktop.
+       Flip the tree of the selected desktop.
 
 *-R*, *--rotate* '90|270|180'::
-    Rotate the tree of the selected desktop.
+       Rotate the tree of the selected desktop.
+
+*-E*, *--equalize*::
+       Reset the split ratios of the tree of the selected desktop.
 
 *-B*, *--balance*::
-    Adjust the split ratios of the tree of the selected desktop so that all windows occupy the same area.
+       Adjust the split ratios of the tree of the selected desktop so that all windows occupy the same area.
 
 *-C*, *--circulate* forward|backward::
-    Circulate the leaves of the tree of the selected desktop.
-
-*-t*, *--toggle* floating[=on|off]::
-    Set or toggle the given state for the selected desktop.
+       Circulate the leaves of the tree of the selected desktop.
 
 
 Monitor
@@ -416,25 +511,25 @@ monitor ['MONITOR_SEL'] 'OPTIONS'
 Options
 ^^^^^^^
 *-f*, *--focus* ['MONITOR_SEL']::
-    Focus the selected or given monitor.
+       Focus the selected or given monitor.
 
 *-a*, *--add-desktops* <name>...::
-    Create desktops with the given names in the selected monitor.
+       Create desktops with the given names in the selected monitor.
 
 *-r*, *--remove-desktops* <name>...::
-    Remove desktops with the given names.
+       Remove desktops with the given names.
 
 *-o*, *--reorder-desktops* <name>...::
-    Reorder the desktops of the selected monitor to match the given order.
+       Reorder the desktops of the selected monitor to match the given order.
 
 *-d*, *--reset-desktops* <name>...::
-    Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of 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. Incidentally reset the settings of the existing desktops.
 
 *-n*, *--rename* <new_name>::
-    Rename the selected monitor.
+       Rename the selected monitor.
 
 *-s*, *--swap* 'MONITOR_SEL'::
-    Swap the selected monitor with the given monitor.
+       Swap the selected monitor with the given monitor.
 
 Query
 ~~~~~
@@ -447,25 +542,25 @@ query 'OPTIONS'
 Options
 ^^^^^^^
 *-W*, *--windows*::
-    List matching windows.
+       List matching windows.
 
 *-D*, *--desktops*::
-    List matching desktops.
+       List matching desktops.
 
 *-M*, *--monitors*::
-    List matching monitors.
+       List matching monitors.
 
 *-T*, *--tree*::
-    Print tree rooted at query.
+       Print tree rooted at query.
 
 *-H*, *--history*::
-    Print the history as it relates to the query.
+       Print the history as it relates to the query.
 
 *-S*, *--stack*::
-    Print the window stacking order.
+       Print the window stacking order.
 
 [*-m*,*--monitor* ['MONITOR_SEL']] | [*-d*,*--desktop* ['DESKTOP_SEL']] | [*-w*, *--window* ['WINDOW_SEL']]::
-    Constrain matches to the selected monitor, desktop or window.
+       Constrain matches to the selected monitor, desktop or window.
 
 Restore
 ~~~~~~~
@@ -479,13 +574,13 @@ Options
 ^^^^^^^
 
 *-T*, *--tree* <file_path>::
-    Load the desktop trees from the given file.
+       Load the desktop trees from the given file.
 
 *-H*, *--history* <file_path>::
-    Load the focus history from the given file.
+       Load the focus history from the given file.
 
 *-S*, *--stack* <file_path>::
-    Load the window stacking order from the given file.
+       Load the window stacking order from the given file.
 
 Control
 ~~~~~~~
@@ -499,16 +594,19 @@ Options
 ^^^^^^^
 
 *--adopt-orphans*::
-    Manage all the unmanaged windows remaining from a previous session.
+       Manage all the unmanaged windows remaining from a previous session.
 
 *--toggle-visibility*::
-    Toggle the visibility of all the windows.
+       Toggle the visibility of all the windows.
 
 *--record-history* on|off::
-    Enable or disable the recording of window focus history.
+       Enable or disable the recording of window focus history.
+
+*--subscribe* (all|report|monitor|desktop|window|...)*::
+       Continuously print status information. See the *EVENTS* section for the detailed description of each event.
 
-*--subscribe*::
-    Continuously print status informations on standard output.
+*--get-status*::
+       Print the current status information.
 
 Pointer
 ~~~~~~~
@@ -522,13 +620,13 @@ Options
 ^^^^^^^
 
 *-g*, *--grab* focus|move|resize_side|resize_corner::
-    Initiate the given pointer action.
+       Initiate the given pointer action.
 
 *-t*, *--track* <x> <y>::
-    Pass the pointer root coordinates for the current pointer action.
+       Pass the pointer root coordinates for the current pointer action.
 
 *-u*, *--ungrab*::
-    Terminate the current pointer action.
+       Terminate the current pointer action.
 
 Rule
 ~~~~
@@ -541,14 +639,14 @@ rule 'OPTIONS'
 Options
 ^^^^^^^
 
-*-a*, *--add* <class_name>|<instance_name>|* [*-o*|*--one-shot*] [desktop=DESKTOP_SEL|monitor=MONITOR_SEL] [(floating|fullscreen|pseudo_tiled|locked|sticky|private|center|lower|follow|manage|focus)=(true|false)]::
-    Create a new rule.
+*-a*, *--add* <class_name>|<instance_name>|* [*-o*|*--one-shot*] [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)]::
+       Create a new rule.
 
 *-r*, *--remove* ^<n>|head|tail|<class_name>|<instance_name>|*...::
-    Remove the given rules.
+       Remove the given rules.
 
 *-l*, *--list* [<class_name>|<instance_name>|*]::
-    List the rules.
+       List the rules.
 
 Config
 ~~~~~~
@@ -556,8 +654,8 @@ Config
 General Syntax
 ^^^^^^^^^^^^^^
 
-config [-m 'MONITOR_SEL'|-d 'DESKTOP_SEL'] <key> [<value>]::
-    Get or set the value of <key>.
+config [-m 'MONITOR_SEL'|-d 'DESKTOP_SEL'|-w 'WINDOW_SEL'] <key> [<value>]::
+       Get or set the value of <key>.
 
 Quit
 ~~~~
@@ -566,97 +664,128 @@ General Syntax
 ^^^^^^^^^^^^^^
 
 quit [<status>]::
-    Quit with an optional exit status.
+       Quit with an optional exit status.
+
+Exit Codes
+----------
+
+If the server can't handle a message, *bspc* will return with one of the following exit codes:
+
+1::
+       Failure.
+2::
+       Syntax error.
+3::
+       Unknown command.
+
 
 Settings
 --------
-Colors are either http://en.wikipedia.org/wiki/X11_color_names[X color names] or '#RRGGBB', booleans are 'true' or 'false'.
+Colors are either '#RRGGBB' or http://en.wikipedia.org/wiki/X11_color_names[X color names], booleans are 'true', 'on', 'false' or 'off'.
 
-All the boolean settings are 'false' by default.
+All the boolean settings are 'false' by default unless stated otherwise.
 
 Global Settings
 ~~~~~~~~~~~~~~~
 
 'focused_border_color'::
-    Color of the border of a focused window of a focused monitor.
+       Color of the border of a focused window of a focused monitor.
 
 'active_border_color'::
-    Color of the border of a focused window of an unfocused monitor.
+       Color of the border of a focused window of an unfocused monitor.
 
 'normal_border_color'::
-    Color of the border of an unfocused window.
+       Color of the border of an unfocused window.
 
 'presel_border_color'::
-    Color of the *presel* message feedback.
+       Color of the *presel* message feedback.
 
 'focused_locked_border_color'::
-    Color of the border of a focused locked window of a focused monitor.
+       Color of the border of a focused locked window of a focused monitor.
 
 'active_locked_border_color'::
-    Color of the border of a focused locked window of an unfocused monitor.
+       Color of the border of a focused locked window of an unfocused monitor.
 
 'normal_locked_border_color'::
-    Color of the border of an unfocused locked window.
+       Color of the border of an unfocused locked window.
 
 'focused_sticky_border_color'::
-    Color of the border of a focused sticky window of a focused monitor.
+       Color of the border of a focused sticky window of a focused monitor.
 
 'active_sticky_border_color'::
-    Color of the border of a focused sticky window of an unfocused monitor.
+       Color of the border of a focused sticky window of an unfocused monitor.
 
 'normal_sticky_border_color'::
-    Color of the border of an unfocused sticky window.
+       Color of the border of an unfocused sticky window.
 
 'focused_private_border_color'::
-    Color of the border of a focused private window of a focused monitor.
+       Color of the border of a focused private window of a focused monitor.
 
 'active_private_border_color'::
-    Color of the border of a focused private window of an unfocused monitor.
+       Color of the border of a focused private window of an unfocused monitor.
 
 'normal_private_border_color'::
-    Color of the border of an unfocused private window.
+       Color of the border of an unfocused private window.
 
 'urgent_border_color'::
-    Color of the border of an urgent window.
+       Color of the border of an urgent window.
 
 'split_ratio'::
-    Default split ratio.
+       Default split ratio.
 
 'status_prefix'::
-    Prefix prepended to each of the status lines.
+       Prefix prepended to each of the status lines.
 
 'external_rules_command'::
-    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: *key1=value1 key2=value2 ...* (the valid key/value pairs are given in the description of the 'rule' command).
+       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: *key1=value1 key2=value2 ...* (the valid key/value pairs are given in the description of the 'rule' command).
+
+'initial_polarity'::
+       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: *first_child*, *second_child*.
 
 'history_aware_focus'::
-    Give priority to the focus history when focusing nodes.
+       Give priority to the focus history when focusing nodes.
+
+'focus_by_distance'::
+       Base focusing on distances between windows.
 
 'borderless_monocle'::
-    Remove borders for tiled windows in monocle mode.
+       Remove borders of tiled windows for the *monocle* desktop layout.
 
 'gapless_monocle'::
-    Remove gaps for tiled windows in monocle mode.
+       Remove gaps of tiled windows for the *monocle* desktop layout.
+
+'leaf_monocle'::
+       Set the desktop layout to *monocle* if there's only one tiled window in the tree.
 
 'focus_follows_pointer'::
-    Focus the window under the pointer.
+       Focus the window under the pointer.
+
+'pointer_follows_focus'::
+       When focusing a window, put the pointer at its center.
 
 'pointer_follows_monitor'::
-    When focusing a monitor, put the pointer at its center.
+       When focusing a monitor, put the pointer at its center.
 
 'auto_alternate'::
-    Interpret two consecutive identical *use* messages as an *alternate* message.
+       Interpret consecutive identical *--focus* arguments as the *last* selector for the *monitor* and *desktop* commands.
 
 'auto_cancel'::
-    Interpret two consecutive identical *presel* messages as a *cancel* message.
-
-'apply_floating_atom'::
-    Set the value of the '_BSPWM_FLOATING_WINDOW' atom of each window according to its floating state.
+       Interpret consecutive identical *--presel* arguments as *--cancel-presel* option.
 
 'ignore_ewmh_focus'::
-    Ignore EWMH requests to focus a window.
+       Ignore EWMH focus requests coming from applications.
+
+'center_pseudo_tiled'::
+       Center pseudo tiled windows into their tiling rectangles. Defaults to 'true'.
+
+'remove_disabled_monitors'::
+       Consider disabled monitors as disconnected.
+
+'remove_unplugged_monitors'::
+       Remove unplugged monitors.
 
-'remove_disabled_monitor'::
-    Consider disabled monitors as disconnected.
+'merge_overlapping_monitors'::
+       Merge overlapping monitors (the bigger remains).
 
 Monitor and Desktop Settings
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -665,70 +794,147 @@ Monitor and Desktop Settings
 'right_padding'::
 'bottom_padding'::
 'left_padding'::
-    Padding space added at the sides of the monitor or desktop.
+       Padding space added at the sides of the monitor or desktop.
 
-Desktop Settings
-~~~~~~~~~~~~~~~~
+Default, Desktop Default and Window Settings
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+'border_width'::
+       Window border width.
+
+Default and Desktop Settings
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 'window_gap'::
-    Size of the gap that separates windows.
+       Size of the gap that separates windows.
 
-'border_width'::
-    Window border width.
 
+Events
+------
+
+'report'::
+       See the next section for the description of the format.
+
+'monitor_add <monitor_name> <monitor_id> <monitor_geometry>'::
+       A monitor is added.
+
+'monitor_rename <old_name> <new_name>'::
+       A monitor is renamed.
+
+'monitor_remove <monitor_name>'::
+       A monitor is removed.
+
+'monitor_focus <monitor_name>'::
+       A monitor is focused.
+
+'monitor_geometry <monitor_name> <monitor_geometry>'::
+       The geometry of a monitor changed.
+
+'desktop_add <monitor_name> <desktop_name>'::
+       A desktop is added.
+
+'desktop_rename <monitor_name> <old_name> <new_name>'::
+       A desktop is renamed.
+
+'desktop_remove <monitor_name> <desktop_name>'::
+       A desktop is removed.
+
+'desktop_swap <src_monitor_name> <src_desktop_name> <dst_monitor_name> <dst_desktop_name>'::
+       A desktop is swapped.
+
+'desktop_transfer <src_monitor_name> <src_desktop_name> <dst_monitor_name>'::
+       A desktop is transferred.
+
+'desktop_focus <monitor_name> <desktop_name>'::
+       A desktop is focused.
+
+'desktop_layout <monitor_name> <desktop_name> tiled|monocle'::
+       The layout of a desktop changed.
+
+'window_manage <monitor_name> <desktop_name> <window_id> <ip_id>'::
+       A window is managed.
+
+'window_unmanage <monitor_name> <desktop_name> <window_id>'::
+       A window is unmanaged.
+
+'window_swap <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>'::
+       A window is swapped.
+
+'window_transfer <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>'::
+       A window is transferred.
+
+'window_focus <monitor_name> <desktop_name> <window_id>'::
+       A window is focused.
+
+'window_activate <monitor_name> <desktop_name> <window_id>'::
+       A window is activated.
+
+'window_geometry <monitor_name> <desktop_name> <window_id> <window_geometry>'::
+       The geometry of a window changed.
+
+'window_state <monitor_name> <desktop_name> <window_id> tiled|pseudo_tiled|floating|fullscreen on|off'::
+       The state of a window changed.
+
+'window_flag <monitor_name> <desktop_name> <window_id> sticky|private|locked|urgent on|off'::
+       One of the flags of a window changed.
+
+'window_layer <monitor_name> <desktop_name> <window_id> below|normal|above'::
+       The layer of a window changed.
+
+Please note that *bspwm* initializes monitors before it reads messages on its socket, therefore the initial monitor events can't be received.
 
-Status Format
+Report Format
 -------------
 
-Status informations are composed of items separated by colons.
+Each report event message is composed of items separated by colons.
 
 Each item has the form '<type><value>' where '<type>' is the first character of the item.
 
 'M<monitor_name>'::
-    Focused monitor.
+       Focused monitor.
 
 'm<monitor_name>'::
-    Unfocused monitor.
+       Unfocused monitor.
 
 'O<desktop_name>'::
-    Occupied focused desktop.
+       Occupied focused desktop.
 
 'o<desktop_name>'::
-    Occupied unfocused desktop.
+       Occupied unfocused desktop.
 
 'F<desktop_name>'::
-    Free focused desktop.
+       Free focused desktop.
 
 'f<desktop_name>'::
-    Free unfocused desktop.
+       Free unfocused desktop.
 
 'U<desktop_name>'::
-    Urgent focused desktop.
+       Urgent focused desktop.
 
 'u<desktop_name>'::
-    Urgent unfocused desktop.
+       Urgent unfocused desktop.
 
-'L(tiled|monocle)'::
-    Layout of the focused desktop of the focused monitor.
+'L(T|M)'::
+       Layout of the focused desktop of a monitor.
 
 Environment Variables
 ---------------------
 
 'BSPWM_SOCKET'::
-  The path of the socket used for the communication between *bspc* and *bspwm*. If it isn't defined, then the following path is used: '/tmp/bspwm<display_name>-socket'.
+       The path of the socket used for the communication between *bspc* and *bspwm*. If it isn't defined, then the following path is used: '/tmp/bspwm<host_name>_<display_number>_<screen_number>-socket'.
 
 Panels
 ------
 
 * Any EWMH compliant panel (e.g.: 'tint2', 'bmpanel2', etc.).
-* A custom panel if the '-s' flag is used (have a look at the files in 'examples/panel').
+* A custom panel (have a look at the files in 'examples/panel').
 
 Key Features
 ------------
 
 * Configured and controlled through messages.
-* Multiple monitors support (via 'RandR').
-* EWMH support (*tint2* works).
+* Multiple monitors support.
+* EWMH support.
 * Hybrid tiling.
 
 Contributors