]> git.lizzy.rs Git - bspwm.git/blobdiff - doc/bspwm.1
Mention the default reference
[bspwm.git] / doc / bspwm.1
index 510cab418fd94f8f24b93f2621c68fee1af5fe75..c7f6e500a25808adfee10b000b3aa7a4b69714bb 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: 01/02/2016
+.\"      Date: 05/09/2016
 .\"    Manual: Bspwm Manual
-.\"    Source: Bspwm 0.9-120-g5a9c710
+.\"    Source: Bspwm 0.9.1-54-gcdc20bb
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "01/02/2016" "Bspwm 0\&.9\-120\-g5a9c710" "Bspwm Manual"
+.TH "BSPWM" "1" "05/09/2016" "Bspwm 0\&.9\&.1\-54\-gcdc20bb" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -34,6 +34,8 @@ bspwm \- Binary space partitioning window manager
 \fBbspwm\fR [\fB\-h\fR|\fB\-v\fR|\fB\-c\fR \fICONFIG_PATH\fR]
 .sp
 \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\&.
@@ -92,15 +94,15 @@ Select a node\&.
 .RS 4
 .\}
 .nf
-NODE_SEL := (<node_id>|PATH|DIR|CYCLE_DIR|last|older|newer|biggest|focused)[\&.[!]focused][\&.[!]automatic][\&.[!]local][\&.[!]leaf][\&.[!]STATE][\&.[!]FLAG][\&.[!]LAYER][\&.[!]same_class]
+NODE_SEL := (DIR|CYCLE_DIR|PATH|last|older|newer|focused|pointed|biggest|<node_id>)[\&.[!]focused][\&.[!]automatic][\&.[!]local][\&.[!]leaf][\&.[!]window][\&.[!]STATE][\&.[!]FLAG][\&.[!]LAYER][\&.[!]same_class]
 
 STATE := tiled|pseudo_tiled|floating|fullscreen
 
-FLAG := urgent|sticky|private|locked
+FLAG := hidden|sticky|private|locked|urgent
 
 LAYER := below|normal|above
 
-PATH := @[DESK_SEL:][[/]JUMP](/JUMP)*
+PATH := @[DESKTOP_SEL:][[/]JUMP](/JUMP)*
 
 JUMP := first|1|second|2|brother|parent|DIR
 .fi
@@ -116,16 +118,6 @@ JUMP := first|1|second|2|brother|parent|DIR
 \fBDescriptors\fR
 .RS 4
 .PP
-<node_id>
-.RS 4
-Selects the node with the given ID\&.
-.RE
-.PP
-\fIPATH\fR
-.RS 4
-Selects the node at the given path\&.
-.RE
-.PP
 \fIDIR\fR
 .RS 4
 Selects the window in the given (spacial) direction relative to the active node\&.
@@ -136,9 +128,9 @@ Selects the window in the given (spacial) direction relative to the active node\
 Selects the window in the given (cyclic) direction\&.
 .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
@@ -146,19 +138,34 @@ last
 Selects the previously focused node\&.
 .RE
 .PP
+older
+.RS 4
+Selects the node older than the focused node in the history\&.
+.RE
+.PP
+newer
+.RS 4
+Selects the node newer than the focused node in the history\&.
+.RE
+.PP
 focused
 .RS 4
 Selects the currently focused node\&.
 .RE
 .PP
-older
+pointed
 .RS 4
-Selects the node older than the focused node in the history\&.
+Selects the window under the pointer\&.
 .RE
 .PP
-newer
+biggest
 .RS 4
-Selects the node newer than the focused node in the history\&.
+Selects the biggest window on the current desktop\&.
+.RE
+.PP
+<node_id>
+.RS 4
+Selects the node with the given ID\&.
 .RE
 .RE
 .sp
@@ -170,7 +177,7 @@ Selects the node newer than the focused node in the history\&.
 \fBPath Jumps\fR
 .RS 4
 .sp
-The initial node is the focused node (or the root if the path starts with \fI/\fR) of the focused desktop (or the selected desktop if the path has a \fIDESK_SEL\fR prefix)\&.
+The initial node is the focused node (or the root if the path starts with \fI/\fR) of the focused desktop (or the selected desktop if the path has a \fIDESKTOP_SEL\fR prefix)\&.
 .PP
 1|first
 .RS 4
@@ -226,6 +233,11 @@ Only consider nodes in or not in the current desktop\&.
 Only consider leaves or internal nodes\&.
 .RE
 .PP
+[!]window
+.RS 4
+Only consider nodes that hold or don\(cqt hold a window\&.
+.RE
+.PP
 [!](tiled|pseudo_tiled|floating|fullscreen)
 .RS 4
 Only consider windows in or not in the given state\&.
@@ -236,7 +248,7 @@ Only consider windows in or not in the given state\&.
 Only consider windows that have or don\(cqt have the same class as the current window\&.
 .RE
 .PP
-[!](private|urgent|sticky|locked)
+[!](hidden|sticky|private|locked|urgent)
 .RS 4
 Only consider windows that have or don\(cqt have the given flag set\&.
 .RE
@@ -254,7 +266,7 @@ Select a desktop\&.
 .RS 4
 .\}
 .nf
-DESKTOP_SEL := (<desktop_name>|[MONITOR_SEL:](focused|^<n>)CYCLE_DIR|last|older|newer)[\&.[!]occupied][\&.[!]focused][\&.[!]urgent][\&.[!]local]
+DESKTOP_SEL := (CYCLE_DIR|last|older|newer|[MONITOR_SEL:](focused|^<n>)|<desktop_id>|<desktop_name>)[\&.[!]occupied][\&.[!]focused][\&.[!]urgent][\&.[!]local]
 .fi
 .if n \{\
 .RE
@@ -268,24 +280,24 @@ DESKTOP_SEL := (<desktop_name>|[MONITOR_SEL:](focused|^<n>)CYCLE_DIR|last|older|
 \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 active desktop\&.
 .RE
 .PP
-^<n>
+last
 .RS 4
-Selects the nth desktop\&.
+Selects the previously focused 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 focused desktop in the history\&.
 .RE
 .PP
-last
+newer
 .RS 4
-Selects the previously focused desktop\&.
+Selects the desktop newer than the focused desktop in the history\&.
 .RE
 .PP
 focused
@@ -293,14 +305,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
@@ -340,7 +357,7 @@ Select a monitor\&.
 .RS 4
 .\}
 .nf
-MONITOR_SEL := (<monitor_name>|^<n>|DIR|CYCLE_DIR|last|primary|focused|older|newer)[\&.[!]occupied][\&.[!]focused]
+MONITOR_SEL := (DIR|CYCLE_DIR|last|older|newer|focused|primary|^<n>|<monitor_id>|<monitor_name>)[\&.[!]occupied][\&.[!]focused]
 .fi
 .if n \{\
 .RE
@@ -354,16 +371,6 @@ MONITOR_SEL := (<monitor_name>|^<n>|DIR|CYCLE_DIR|last|primary|focused|older|new
 \fBDescriptors\fR
 .RS 4
 .PP
-<monitor_name>
-.RS 4
-Selects the monitor with the given name\&.
-.RE
-.PP
-^<n>
-.RS 4
-Selects the nth monitor\&.
-.RE
-.PP
 \fIDIR\fR
 .RS 4
 Selects the monitor in the given (spacial) direction relative to the active monitor\&.
@@ -374,14 +381,19 @@ Selects the monitor in the given (spacial) direction relative to the active moni
 Selects the monitor in the given (cyclic) direction relative to the active monitor\&.
 .RE
 .PP
-primary
+last
 .RS 4
-Selects the primary monitor\&.
+Selects the previously focused monitor\&.
 .RE
 .PP
-last
+older
 .RS 4
-Selects the previously focused monitor\&.
+Selects the monitor older than the focused monitor in the history\&.
+.RE
+.PP
+newer
+.RS 4
+Selects the monitor newer than the focused monitor in the history\&.
 .RE
 .PP
 focused
@@ -389,14 +401,24 @@ focused
 Selects the currently focused monitor\&.
 .RE
 .PP
-older
+primary
 .RS 4
-Selects the monitor older than the focused monitor in the history\&.
+Selects the primary monitor\&.
 .RE
 .PP
-newer
+^<n>
 .RS 4
-Selects the monitor newer than the focused monitor in the history\&.
+Selects the nth monitor\&.
+.RE
+.PP
+<monitor_id>
+.RS 4
+Selects the monitor with the given ID\&.
+.RE
+.PP
+<monitor_name>
+.RS 4
+Selects the monitor with the given name\&.
 .RE
 .RE
 .sp
@@ -441,11 +463,9 @@ Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer
 .RE
 .SH "NODE FLAGS"
 .PP
-locked
+hidden
 .RS 4
-Ignores the
-\fBnode \-\-close\fR
-message\&.
+Is hidden and doesn\(cqt occupy any tiling space\&.
 .RE
 .PP
 sticky
@@ -458,6 +478,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\&.
@@ -479,6 +506,8 @@ In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fulls
 .RS 4
 .sp
 node [\fINODE_SEL\fR] \fICOMMANDS\fR
+.sp
+If \fINODE_SEL\fR is omitted, \fBfocused\fR is assumed\&.
 .RE
 .sp
 .it 1 an-trap
@@ -535,6 +564,24 @@ and the current preselection direction matches
 Set the splitting ratio of the preselection area\&.
 .RE
 .PP
+\fB\-v\fR, \fB\-\-move\fR \fIdx\fR \fIdy\fR
+.RS 4
+Move the selected window by
+\fIdx\fR
+pixels horizontally and
+\fIdy\fR
+pixels vertically\&.
+.RE
+.PP
+\fB\-z\fR, \fB\-\-resize\fR top|left|bottom|right|top_left|top_right|bottom_right|bottom_left \fIdx\fR \fIdy\fR
+.RS 4
+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
 .RS 4
 Set the splitting ratio of the selected node (0 <
@@ -574,7 +621,7 @@ Set the state of the selected window\&. If
 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 node\&.
 .RE
@@ -584,6 +631,11 @@ Set or toggle the given flag for the selected node\&.
 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 windows rooted at the selected node\&.
@@ -605,6 +657,8 @@ Kill the windows rooted at the selected node\&.
 .RS 4
 .sp
 desktop [\fIDESKTOP_SEL\fR] \fICOMMANDS\fR
+.sp
+If \fIDESKTOP_SEL\fR is omitted, \fBfocused\fR is assumed\&.
 .RE
 .sp
 .it 1 an-trap
@@ -666,6 +720,8 @@ Remove the selected desktop\&.
 .RS 4
 .sp
 monitor [\fIMONITOR_SEL\fR] \fICOMMANDS\fR
+.sp
+If \fIMONITOR_SEL\fR is omitted, \fBfocused\fR is assumed\&.
 .RE
 .sp
 .it 1 an-trap
@@ -686,11 +742,6 @@ Focus the selected or given monitor\&.
 Create desktops with the given names in the selected monitor\&.
 .RE
 .PP
-\fB\-r\fR, \fB\-\-remove\-desktops\fR <name>\&...
-.RS 4
-Remove desktops with the given names\&.
-.RE
-.PP
 \fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
 .RS 4
 Reorder the desktops of the selected monitor to match the given order\&.
@@ -698,7 +749,7 @@ 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
@@ -715,6 +766,11 @@ Rename the selected monitor\&.
 .RS 4
 Swap the selected monitor with the given monitor\&.
 .RE
+.PP
+\fB\-r\fR, \fB\-\-remove\fR
+.RS 4
+Remove the selected monitor\&.
+.RE
 .RE
 .SS "Query"
 .sp
@@ -744,12 +800,12 @@ List the IDs of the matching nodes\&.
 .PP
 \fB\-D\fR, \fB\-\-desktops\fR
 .RS 4
-List the names of the matching desktops\&.
+List the IDs of the matching desktops\&.
 .RE
 .PP
 \fB\-M\fR, \fB\-\-monitors\fR
 .RS 4
-List the names of the matching monitors\&.
+List the IDs of the matching monitors\&.
 .RE
 .PP
 \fB\-T\fR, \fB\-\-tree\fR
@@ -766,7 +822,7 @@ Print a JSON representation of the matching item\&.
 \fBOptions\fR
 .RS 4
 .PP
-[\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]]
+\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
 Constrain matches to the selected monitor, desktop or node\&. The descriptor can be omitted for
 \fI\-M\fR,
@@ -811,11 +867,6 @@ Load a world state from the given file\&.
 Add a monitor for the given name and rectangle\&.
 .RE
 .PP
-\fB\-r\fR, \fB\-\-remove\-monitor\fR <name>
-.RS 4
-Remove the monitor with the given name\&.
-.RE
-.PP
 \fB\-o\fR, \fB\-\-adopt\-orphans\fR
 .RS 4
 Manage all the unmanaged windows remaining from a previous session\&.
@@ -831,42 +882,6 @@ Enable or disable the recording of node focus history\&.
 Print the current status information\&.
 .RE
 .RE
-.SS "Pointer"
-.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
-pointer \fICOMMANDS\fR
-.RE
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-.ps +1
-\fBCommands\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\-u\fR, \fB\-\-ungrab\fR
-.RS 4
-Terminate the current pointer action\&.
-.RE
-.RE
 .SS "Rule"
 .sp
 .it 1 an-trap
@@ -888,7 +903,7 @@ rule \fICOMMANDS\fR
 \fBCommands\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|node=NODE_SEL] [state=STATE] [layer=LAYER] [split_dir=DIR] [split_ratio=RATIO] [(locked|sticky|private|center|follow|manage|focus|border)=(on|off)]
+\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
 Create a new rule\&.
 .RE
@@ -952,22 +967,7 @@ 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 in the form \fI#RRGGBB\fR, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
@@ -1023,16 +1023,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
@@ -1047,6 +1037,13 @@ Remove gaps of tiled windows for the
 desktop layout\&.
 .RE
 .PP
+\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
@@ -1054,6 +1051,36 @@ Set the desktop layout to
 if there\(cqs only one tiled window in the tree\&.
 .RE
 .PP
+\fIpointer_modifier\fR
+.RS 4
+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_action1\fR, \fIpointer_action2\fR, \fIpointer_action3\fR
+.RS 4
+Action performed when pressing
+\fIpointer_modifier\fR
++
+\fIbutton<n>\fR\&. Accept the following values:
+\fBmove\fR,
+\fBresize_side\fR,
+\fBresize_corner\fR,
+\fBfocus\fR\&.
+.RE
+.PP
+\fIclick_to_focus\fR
+.RS 4
+Focus a window (or a monitor) by clicking it\&.
+.RE
+.PP
 \fIfocus_follows_pointer\fR
 .RS 4
 Focus the window under the pointer\&.
@@ -1080,6 +1107,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\&.
@@ -1100,18 +1132,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
@@ -1119,102 +1176,107 @@ 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_activate <monitor_name> <desktop_name>\fR
+\fIdesktop_activate <monitor_id> <desktop_id>\fR
 .RS 4
 A desktop is activated\&.
 .RE
 .PP
-\fIdesktop_layout <monitor_name> <desktop_name> tiled|monocle\fR
+\fIdesktop_layout <monitor_id> <desktop_id> tiled|monocle\fR
 .RS 4
 The layout of a desktop changed\&.
 .RE
 .PP
-\fInode_manage <monitor_name> <desktop_name> <node_id> <ip_id>\fR
+\fInode_manage <monitor_id> <desktop_id> <node_id> <ip_id>\fR
 .RS 4
 A window is managed\&.
 .RE
 .PP
-\fInode_unmanage <monitor_name> <desktop_name> <node_id>\fR
+\fInode_unmanage <monitor_id> <desktop_id> <node_id>\fR
 .RS 4
 A window is unmanaged\&.
 .RE
 .PP
-\fInode_swap <src_monitor_name> <src_desktop_name> <src_node_id> <dst_monitor_name> <dst_desktop_name> <dst_node_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_name> <src_desktop_name> <src_node_id> <dst_monitor_name> <dst_desktop_name> <dst_node_id>\fR
+\fInode_transfer <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
 .RS 4
 A node is transferred\&.
 .RE
 .PP
-\fInode_focus <monitor_name> <desktop_name> <node_id>\fR
+\fInode_focus <monitor_id> <desktop_id> <node_id>\fR
 .RS 4
 A node is focused\&.
 .RE
 .PP
-\fInode_activate <monitor_name> <desktop_name> <node_id>\fR
+\fInode_activate <monitor_id> <desktop_id> <node_id>\fR
 .RS 4
 A node is activated\&.
 .RE
 .PP
-\fInode_presel <monitor_name> <desktop_name> <node_id> (dir DIR|ratio RATIO|cancel)\fR
+\fInode_presel <monitor_id> <desktop_id> <node_id> (dir DIR|ratio RATIO|cancel)\fR
 .RS 4
 A node is preselected\&.
 .RE
@@ -1224,22 +1286,22 @@ A node is preselected\&.
 A node is stacked below or above another node\&.
 .RE
 .PP
-\fInode_geometry <monitor_name> <desktop_name> <node_id> <node_geometry>\fR
+\fInode_geometry <monitor_id> <desktop_id> <node_id> <node_geometry>\fR
 .RS 4
 The geometry of a window changed\&.
 .RE
 .PP
-\fInode_state <monitor_name> <desktop_name> <node_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
-\fInode_flag <monitor_name> <desktop_name> <node_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 node changed\&.
 .RE
 .PP
-\fInode_layer <monitor_name> <desktop_name> <node_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