3 .\" Author: [see the "Author" section]
4 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
6 .\" Manual: Bspwm Manual
7 .\" Source: Bspwm 0.9.3-22-g7091d65
10 .TH "BSPWM" "1" "08/22/2017" "Bspwm 0\&.9\&.3\-22\-g7091d65" "Bspwm Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 bspwm \- Binary space partitioning window manager
34 \fBbspwm\fR [\fB\-h\fR|\fB\-v\fR|\fB\-c\fR \fICONFIG_PATH\fR]
36 \fBbspc\fR \fIDOMAIN\fR [\fISELECTOR\fR] \fICOMMANDS\fR
38 \fBbspc\fR \fICOMMAND\fR [\fIOPTIONS\fR] [\fIARGUMENTS\fR]
41 \fBbspwm\fR is a tiling window manager that represents windows as the leaves of a full binary tree\&.
43 It is controlled and configured via \fBbspc\fR\&.
48 Print the synopsis and exit\&.
53 Print the version and exit\&.
56 \fB\-c\fR \fICONFIG_PATH\fR
58 Use the given configuration file\&.
60 .SH "COMMON DEFINITIONS"
66 DIR := north | west | south | east
67 CYCLE_DIR := next | prev
74 Selectors are used to select a target node, desktop, or monitor\&. A selector can either describe the target relatively or name it globally\&.
76 Selectors consist of an optional reference, a descriptor and any number of non\-conflicting modifiers as follows:
82 [REFERENCE#]DESCRIPTOR(\&.MODIFIER)*
88 The relative targets are computed in relation to the given reference (the default reference value is \fBfocused\fR)\&.
90 An exclamation mark can be prepended to any modifier in order to reverse its meaning\&.
92 The following characters cannot be used in monitor or desktop names: \fB#\fR, \fB:\fR, \fB\&.\fR\&.
101 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]
103 STATE := tiled|pseudo_tiled|floating|fullscreen
105 FLAG := hidden|sticky|private|locked|urgent
107 LAYER := below|normal|above
109 PATH := @[DESKTOP_SEL:][[/]JUMP](/JUMP)*
111 JUMP := first|1|second|2|brother|parent|DIR
118 .nr an-no-space-flag 1
127 Selects the window in the given (spacial) direction relative to the reference node\&.
132 Selects the window in the given (cyclic) direction relative to the reference node\&.
137 Selects the node at the given path\&.
142 Selects the previously focused node relative to the reference node\&.
147 Selects the node older than the reference node in the history\&.
152 Selects the node newer than the reference node in the history\&.
157 Selects the currently focused node\&.
162 Selects the window under the pointer\&.
167 Selects the biggest window\&.
172 Selects the node with the given ID\&.
177 .nr an-no-space-flag 1
184 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)\&.
188 Jumps to the first child\&.
193 Jumps to the second child\&.
198 Jumps to the brother node\&.
203 Jumps to the parent node\&.
208 Jumps to the node holding the edge in the given direction\&.
213 .nr an-no-space-flag 1
222 Only consider focused or unfocused nodes\&.
227 Only consider nodes in automatic or manual insertion mode\&. See also
228 \fB\-\-presel\-dir\fR
238 Only consider nodes in or not in the reference desktop\&.
243 Only consider nodes in or not in the active desktop of their monitor\&.
248 Only consider leaves or internal nodes\&.
253 Only consider nodes that hold or don\(cqt hold a window\&.
256 [!](tiled|pseudo_tiled|floating|fullscreen)
258 Only consider windows in or not in the given state\&.
263 Only consider windows that have or don\(cqt have the same class as the reference window\&.
268 Only consider nodes that are or aren\(cqt descendants of the reference node\&.
273 Only consider nodes that are or aren\(cqt ancestors of the reference node\&.
276 [!](hidden|sticky|private|locked|urgent)
278 Only consider windows that have or don\(cqt have the given flag set\&.
281 [!](below|normal|above)
283 Only consider windows in or not in the given layer\&.
294 DESKTOP_SEL := [DESKTOP_SEL#](CYCLE_DIR|last|older|newer|[MONITOR_SEL:](focused|^<n>)|<desktop_id>|<desktop_name>)[\&.[!]occupied][\&.[!]focused][\&.[!]urgent][\&.[!]local]
301 .nr an-no-space-flag 1
310 Selects the desktop in the given direction relative to the reference desktop\&.
315 Selects the previously focused desktop relative to the reference desktop\&.
320 Selects the desktop older than the reference desktop in the history\&.
325 Selects the desktop newer than the reference desktop in the history\&.
330 Selects the currently focused desktop\&.
335 Selects the nth desktop\&. If
337 is given, selects the nth desktop on the selected monitor\&.
342 Selects the desktop with the given ID\&.
347 Selects the desktop with the given name\&.
352 .nr an-no-space-flag 1
361 Only consider occupied or free desktops\&.
366 Only consider focused or unfocused desktops\&.
371 Only consider urgent or non urgent desktops\&.
376 Only consider desktops inside or outside of the reference monitor\&.
387 MONITOR_SEL := [MONITOR_SEL#](DIR|CYCLE_DIR|last|older|newer|focused|primary|^<n>|<monitor_id>|<monitor_name>)[\&.[!]occupied][\&.[!]focused]
394 .nr an-no-space-flag 1
403 Selects the monitor in the given (spacial) direction relative to the reference monitor\&.
408 Selects the monitor in the given (cyclic) direction relative to the reference monitor\&.
413 Selects the previously focused monitor relative to the reference monitor\&.
418 Selects the monitor older than the reference monitor in the history\&.
423 Selects the monitor newer than the reference monitor in the history\&.
428 Selects the currently focused monitor\&.
433 Selects the primary monitor\&.
438 Selects the nth monitor\&.
443 Selects the monitor with the given ID\&.
448 Selects the monitor with the given name\&.
453 .nr an-no-space-flag 1
462 Only consider monitors where the focused desktop is occupied or free\&.
467 Only consider focused or unfocused monitors\&.
474 Its size and position are determined by the splitting type and ratio of each node of its path in the window tree\&.
479 Has an unrestricted size while being centered in its tiling space\&.
484 Can be moved/resized freely\&. Although it doesn\(cqt occupy any tiling space, it is still part of the window tree\&.
489 Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer by default\&.
495 Is hidden and doesn\(cqt occupy any tiling space\&.
500 Stays in the focused desktop of its monitor\&.
505 Tries to keep the same tiling position/size\&.
517 Has its urgency hint set\&. This flag is set externally\&.
519 .SH "STACKING LAYERS"
521 There\(cqs three stacking layers: BELOW, NORMAL and ABOVE\&.
523 In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fullscreen < floating\&.
528 .nr an-no-space-flag 1
535 node [\fINODE_SEL\fR] \fICOMMANDS\fR
537 If \fINODE_SEL\fR is omitted, \fBfocused\fR is assumed\&.
541 .nr an-no-space-flag 1
548 \fB\-f\fR, \fB\-\-focus\fR [\fINODE_SEL\fR]
550 Focus the selected or given node\&.
553 \fB\-a\fR, \fB\-\-activate\fR [\fINODE_SEL\fR]
555 Activate the selected or given node\&.
558 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR
560 Send the selected node to the given desktop\&.
563 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
565 Send the selected node to the given monitor\&.
568 \fB\-n\fR, \fB\-\-to\-node\fR \fINODE_SEL\fR
570 Transplant the selected node to the given node\&.
573 \fB\-s\fR, \fB\-\-swap\fR \fINODE_SEL\fR
575 Swap the selected node with the given node\&.
578 \fB\-p\fR, \fB\-\-presel\-dir\fR [~]\fIDIR\fR|cancel
580 Preselect the splitting area of the selected node (or cancel the preselection)\&. If
584 and the current preselection direction matches
585 \fIDIR\fR, then the argument is interpreted as
586 \fBcancel\fR\&. A node with a preselected area is said to be in "manual insertion mode"\&.
589 \fB\-o\fR, \fB\-\-presel\-ratio\fR \fIRATIO\fR
591 Set the splitting ratio of the preselection area\&.
594 \fB\-v\fR, \fB\-\-move\fR \fIdx\fR \fIdy\fR
596 Move the selected window by
598 pixels horizontally and
603 \fB\-z\fR, \fB\-\-resize\fR top|left|bottom|right|top_left|top_right|bottom_right|bottom_left \fIdx\fR \fIdy\fR
605 Resize the selected window by moving the given handle by
607 pixels horizontally and
612 \fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR|(+|\-)(\fIPIXELS\fR|\fIFRACTION\fR)
614 Set the splitting ratio of the selected node (0 <
619 \fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
621 Rotate the tree rooted at the selected node\&.
624 \fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
626 Flip the the tree rooted at selected node\&.
629 \fB\-E\fR, \fB\-\-equalize\fR
631 Reset the split ratios of the tree rooted at the selected node to their default value\&.
634 \fB\-B\fR, \fB\-\-balance\fR
636 Adjust the split ratios of the tree rooted at the selected node so that all windows occupy the same area\&.
639 \fB\-C\fR, \fB\-\-circulate\fR forward|backward
641 Circulate the windows of the tree rooted at the selected node\&.
644 \fB\-t\fR, \fB\-\-state\fR [~](tiled|pseudo_tiled|floating|fullscreen)
646 Set the state of the selected window\&. If
648 is present and the current state matches the given state, then the argument is interpreted as the last state\&.
651 \fB\-g\fR, \fB\-\-flag\fR hidden|sticky|private|locked[=on|off]
653 Set or toggle the given flag for the selected node\&.
656 \fB\-l\fR, \fB\-\-layer\fR below|normal|above
658 Set the stacking layer of the selected window\&.
661 \fB\-i\fR, \fB\-\-insert\-receptacle\fR
663 Insert a receptacle node at the selected node\&.
666 \fB\-c\fR, \fB\-\-close\fR
668 Close the windows rooted at the selected node\&.
671 \fB\-k\fR, \fB\-\-kill\fR
673 Kill the windows rooted at the selected node\&.
679 .nr an-no-space-flag 1
686 desktop [\fIDESKTOP_SEL\fR] \fICOMMANDS\fR
688 If \fIDESKTOP_SEL\fR is omitted, \fBfocused\fR is assumed\&.
692 .nr an-no-space-flag 1
699 \fB\-f\fR, \fB\-\-focus\fR [\fIDESKTOP_SEL\fR]
701 Focus the selected or given desktop\&.
704 \fB\-a\fR, \fB\-\-activate\fR [\fIDESKTOP_SEL\fR]
706 Activate the selected or given desktop\&.
709 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
711 Send the selected desktop to the given monitor\&.
714 \fB\-l\fR, \fB\-\-layout\fR \fICYCLE_DIR\fR|monocle|tiled
716 Set or cycle the layout of the selected desktop\&.
719 \fB\-n\fR, \fB\-\-rename\fR <new_name>
721 Rename the selected desktop\&.
724 \fB\-s\fR, \fB\-\-swap\fR \fIDESKTOP_SEL\fR
726 Swap the selected desktop with the given desktop\&.
729 \fB\-b\fR, \fB\-\-bubble\fR \fICYCLE_DIR\fR
731 Bubble the selected desktop in the given direction\&.
734 \fB\-r\fR, \fB\-\-remove\fR
736 Remove the selected desktop\&.
742 .nr an-no-space-flag 1
749 monitor [\fIMONITOR_SEL\fR] \fICOMMANDS\fR
751 If \fIMONITOR_SEL\fR is omitted, \fBfocused\fR is assumed\&.
755 .nr an-no-space-flag 1
762 \fB\-f\fR, \fB\-\-focus\fR [\fIMONITOR_SEL\fR]
764 Focus the selected or given monitor\&.
767 \fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
769 Swap the selected monitor with the given monitor\&.
772 \fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
774 Create desktops with the given names in the selected monitor\&.
777 \fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
779 Reorder the desktops of the selected monitor to match the given order\&.
782 \fB\-d\fR, \fB\-\-reset\-desktops\fR <name>\&...
784 Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&.
787 \fB\-g\fR, \fB\-\-rectangle\fR WxH+X+Y
789 Set the rectangle of the selected monitor\&.
792 \fB\-n\fR, \fB\-\-rename\fR <new_name>
794 Rename the selected monitor\&.
797 \fB\-r\fR, \fB\-\-remove\fR
799 Remove the selected monitor\&.
805 .nr an-no-space-flag 1
812 query \fICOMMANDS\fR [\fIOPTIONS\fR]
816 .nr an-no-space-flag 1
823 The optional selectors are references\&.
825 \fB\-N\fR, \fB\-\-nodes\fR [\fINODE_SEL\fR]
827 List the IDs of the matching nodes\&.
830 \fB\-D\fR, \fB\-\-desktops\fR [\fIDESKTOP_SEL\fR]
832 List the IDs (or names) of the matching desktops\&.
835 \fB\-M\fR, \fB\-\-monitors\fR [\fIMONITOR_SEL\fR]
837 List the IDs (or names) of the matching monitors\&.
840 \fB\-T\fR, \fB\-\-tree\fR
842 Print a JSON representation of the matching item\&.
847 .nr an-no-space-flag 1
854 \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]
856 Constrain matches to the selected monitor, desktop or node\&. The descriptor can be omitted for
865 Print names instead of IDs\&. Can only be used with
874 .nr an-no-space-flag 1
885 .nr an-no-space-flag 1
892 \fB\-d\fR, \fB\-\-dump\-state\fR
894 Dump the current world state on standard output\&.
897 \fB\-l\fR, \fB\-\-load\-state\fR <file_path>
899 Load a world state from the given file\&.
902 \fB\-a\fR, \fB\-\-add\-monitor\fR <name> WxH+X+Y
904 Add a monitor for the given name and rectangle\&.
907 \fB\-O\fR, \fB\-\-reorder\-monitors\fR <name>\&...
909 Reorder the list of monitors to match the given order\&.
912 \fB\-o\fR, \fB\-\-adopt\-orphans\fR
914 Manage all the unmanaged windows remaining from a previous session\&.
917 \fB\-h\fR, \fB\-\-record\-history\fR on|off
919 Enable or disable the recording of node focus history\&.
922 \fB\-g\fR, \fB\-\-get\-status\fR
924 Print the current status information\&.
930 .nr an-no-space-flag 1
941 .nr an-no-space-flag 1
948 \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)] [rectangle=WxH+X+Y]
953 \fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|(<class_name>|*)[:(<instance_name>|*)]\&...
955 Remove the given rules\&.
958 \fB\-l\fR, \fB\-\-list\fR
966 .nr an-no-space-flag 1
973 config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-n \fINODE_SEL\fR] <setting> [<value>]
975 Get or set the value of <setting>\&.
981 .nr an-no-space-flag 1
988 subscribe [\fIOPTIONS\fR] (all|report|monitor|desktop|node|\&...)*
990 Continuously print events\&. See the
992 section for the description of each event\&.
997 .nr an-no-space-flag 1
1004 \fB\-f\fR, \fB\-\-fifo\fR
1006 Print a path to a FIFO from which events can be read and return\&.
1009 \fB\-c\fR, \fB\-\-count\fR \fICOUNT\fR
1011 Stop the corresponding
1013 process after having received
1021 .nr an-no-space-flag 1
1025 \fBGeneral Syntax\fR
1030 Quit with an optional exit status\&.
1035 If the server can\(cqt handle a message, \fBbspc\fR will return with a non\-zero exit code\&.
1038 Colors are in the form \fI#RRGGBB\fR, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
1040 All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
1041 .SS "Global Settings"
1043 \fInormal_border_color\fR
1045 Color of the border of an unfocused window\&.
1048 \fIactive_border_color\fR
1050 Color of the border of a focused window of an unfocused monitor\&.
1053 \fIfocused_border_color\fR
1055 Color of the border of a focused window of a focused monitor\&.
1058 \fIpresel_feedback_color\fR
1061 \fBnode \-\-presel\-{dir,ratio}\fR
1062 message feedback area\&.
1067 Default split ratio\&.
1072 Prefix prepended to each of the status lines\&.
1075 \fIexternal_rules_command\fR
1077 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:
1078 \fBkey1=value1 key2=value2 \&...\fR
1079 (the valid key/value pairs are given in the description of the
1084 \fIinitial_polarity\fR
1086 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:
1088 \fBsecond_child\fR\&.
1091 \fIdirectional_focus_tightness\fR
1093 The tightness of the algorithm used to decide whether a window is on the
1095 side of another window\&. Accept the following values:
1100 \fIborderless_monocle\fR
1102 Remove borders of tiled windows for the
1107 \fIgapless_monocle\fR
1109 Remove gaps of tiled windows for the
1114 \fIpaddingless_monocle\fR
1116 Remove padding space for the
1121 \fIsingle_monocle\fR
1123 Set the desktop layout to
1125 if there\(cqs only one tiled window in the tree\&.
1128 \fIpointer_motion_interval\fR
1130 The minimum interval, in milliseconds, between two motion notify events\&.
1133 \fIpointer_modifier\fR
1135 Keyboard modifier used for moving or resizing windows\&. Accept the following values:
1146 \fIpointer_action1\fR, \fIpointer_action2\fR, \fIpointer_action3\fR
1148 Action performed when pressing
1149 \fIpointer_modifier\fR
1151 \fIbutton<n>\fR\&. Accept the following values:
1154 \fBresize_corner\fR,
1159 \fIclick_to_focus\fR
1161 Button used for focusing a window (or a monitor)\&. The possible values are:
1169 \fIswallow_first_click\fR
1171 Don\(cqt replay the click that makes a window focused if
1172 \fIclick_to_focus\fR
1177 \fIfocus_follows_pointer\fR
1179 Focus the window under the pointer\&.
1182 \fIpointer_follows_focus\fR
1184 When focusing a window, put the pointer at its center\&.
1187 \fIpointer_follows_monitor\fR
1189 When focusing a monitor, put the pointer at its center\&.
1192 \fIignore_ewmh_focus\fR
1194 Ignore EWMH focus requests coming from applications\&.
1197 \fIcenter_pseudo_tiled\fR
1199 Center pseudo tiled windows into their tiling rectangles\&. Defaults to
1203 \fIhonor_size_hints\fR
1205 Apply ICCCM window size hints\&.
1208 \fIremove_disabled_monitors\fR
1210 Consider disabled monitors as disconnected\&.
1213 \fIremove_unplugged_monitors\fR
1215 Remove unplugged monitors\&.
1218 \fImerge_overlapping_monitors\fR
1220 Merge overlapping monitors (the bigger remains)\&.
1222 .SS "Monitor and Desktop Settings"
1224 \fItop_padding\fR, \fIright_padding\fR, \fIbottom_padding\fR, \fIleft_padding\fR
1226 Padding space added at the sides of the monitor or desktop\&.
1228 .SS "Desktop Settings"
1232 Size of the gap that separates windows\&.
1238 Window border width\&.
1240 .SH "POINTER BINDINGS"
1242 \fIclick_to_focus\fR
1244 Focus the window (or the monitor) under the pointer if the value isn\(cqt
1248 \fIpointer_modifier\fR + \fIbutton1\fR
1250 Move the window under the pointer\&.
1253 \fIpointer_modifier\fR + \fIbutton2\fR
1255 Resize the window under the pointer by dragging the nearest side\&.
1258 \fIpointer_modifier\fR + \fIbutton3\fR
1260 Resize the window under the pointer by dragging the nearest corner\&.
1263 The behavior of \fIpointer_modifier\fR + \fIbutton<n>\fR can be modified through the \fIpointer_action<n>\fR setting\&.
1268 See the next section for the description of the format\&.
1271 \fImonitor_add <monitor_id> <monitor_name> <monitor_geometry>\fR
1273 A monitor is added\&.
1276 \fImonitor_rename <monitor_id> <old_name> <new_name>\fR
1278 A monitor is renamed\&.
1281 \fImonitor_remove <monitor_id>\fR
1283 A monitor is removed\&.
1286 \fImonitor_swap <src_monitor_id> <dst_monitor_id>\fR
1288 A monitor is swapped\&.
1291 \fImonitor_focus <monitor_id>\fR
1293 A monitor is focused\&.
1296 \fImonitor_geometry <monitor_id> <monitor_geometry>\fR
1298 The geometry of a monitor changed\&.
1301 \fIdesktop_add <monitor_id> <desktop_id> <desktop_name>\fR
1303 A desktop is added\&.
1306 \fIdesktop_rename <monitor_id> <desktop_id> <old_name> <new_name>\fR
1308 A desktop is renamed\&.
1311 \fIdesktop_remove <monitor_id> <desktop_id>\fR
1313 A desktop is removed\&.
1316 \fIdesktop_swap <src_monitor_id> <src_desktop_id> <dst_monitor_id> <dst_desktop_id>\fR
1318 A desktop is swapped\&.
1321 \fIdesktop_transfer <src_monitor_id> <src_desktop_id> <dst_monitor_id>\fR
1323 A desktop is transferred\&.
1326 \fIdesktop_focus <monitor_id> <desktop_id>\fR
1328 A desktop is focused\&.
1331 \fIdesktop_activate <monitor_id> <desktop_id>\fR
1333 A desktop is activated\&.
1336 \fIdesktop_layout <monitor_id> <desktop_id> tiled|monocle\fR
1338 The layout of a desktop changed\&.
1341 \fInode_add <monitor_id> <desktop_id> <ip_id> <node_id>\fR
1346 \fInode_remove <monitor_id> <desktop_id> <node_id>\fR
1348 A node is removed\&.
1351 \fInode_swap <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1353 A node is swapped\&.
1356 \fInode_transfer <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1358 A node is transferred\&.
1361 \fInode_focus <monitor_id> <desktop_id> <node_id>\fR
1363 A node is focused\&.
1366 \fInode_activate <monitor_id> <desktop_id> <node_id>\fR
1368 A node is activated\&.
1371 \fInode_presel <monitor_id> <desktop_id> <node_id> (dir DIR|ratio RATIO|cancel)\fR
1373 A node is preselected\&.
1376 \fInode_stack <node_id_1> below|above <node_id_2>\fR
1378 A node is stacked below or above another node\&.
1381 \fInode_geometry <monitor_id> <desktop_id> <node_id> <node_geometry>\fR
1383 The geometry of a window changed\&.
1386 \fInode_state <monitor_id> <desktop_id> <node_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
1388 The state of a window changed\&.
1391 \fInode_flag <monitor_id> <desktop_id> <node_id> hidden|sticky|private|locked|urgent on|off\fR
1393 One of the flags of a node changed\&.
1396 \fInode_layer <monitor_id> <desktop_id> <node_id> below|normal|above\fR
1398 The layer of a window changed\&.
1401 \fIpointer_action <monitor_id> <desktop_id> <node_id> move|resize_corner|resize_side begin|end\fR
1403 A pointer action occured\&.
1406 Please note that \fBbspwm\fR initializes monitors before it reads messages on its socket, therefore the initial monitor events can\(cqt be received\&.
1409 Each report event message is composed of items separated by colons\&.
1411 Each item has the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
1413 \fIM<monitor_name>\fR
1418 \fIm<monitor_name>\fR
1420 Unfocused monitor\&.
1423 \fIO<desktop_name>\fR
1425 Occupied focused desktop\&.
1428 \fIo<desktop_name>\fR
1430 Occupied unfocused desktop\&.
1433 \fIF<desktop_name>\fR
1435 Free focused desktop\&.
1438 \fIf<desktop_name>\fR
1440 Free unfocused desktop\&.
1443 \fIU<desktop_name>\fR
1445 Urgent focused desktop\&.
1448 \fIu<desktop_name>\fR
1450 Urgent unfocused desktop\&.
1455 Layout of the focused desktop of a monitor\&.
1460 State of the focused node of a focused desktop\&.
1465 Active flags of the focused node of a focused desktop\&.
1467 .SH "ENVIRONMENT VARIABLES"
1471 The path of the socket used for the communication between
1474 \fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
1475 \fI/tmp/bspwm<host_name>_<display_number>_<screen_number>\-socket\fR\&.
1481 \h'-04'\(bu\h'+03'\c
1487 Steven Allen <steven at stebalien\&.com>
1492 \h'-04'\(bu\h'+03'\c
1498 Thomas Adam <thomas at xteddy\&.org>
1503 \h'-04'\(bu\h'+03'\c
1509 Ivan Kanakarakis <ivan\&.kanak at gmail\&.com>
1513 Bastien Dejean <nihilhill at gmail\&.com>