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.4
10 .TH "BSPWM" "1" "03/28/2018" "Bspwm 0\&.9\&.4" "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\&.
94 The special selector \fB%<name>\fR can be used to select a monitor or a desktop with an invalid name\&.
103 NODE_SEL := [NODE_SEL#](DIR|CYCLE_DIR|PATH|any|last|newest|
104 older|newer|focused|pointed|
105 biggest|<node_id>)[\&.[!]focused][\&.[!]automatic][\&.[!]local][\&.[!]active]
106 [\&.[!]leaf][\&.[!]window][\&.[!]STATE][\&.[!]FLAG][\&.[!]LAYER]
107 [\&.[!]same_class][\&.[!]descendant_of][\&.[!]ancestor_of]
109 STATE := tiled|pseudo_tiled|floating|fullscreen
111 FLAG := hidden|sticky|private|locked|marked|urgent
113 LAYER := below|normal|above
115 PATH := @[DESKTOP_SEL:][[/]JUMP](/JUMP)*
117 JUMP := first|1|second|2|brother|parent|DIR
124 .nr an-no-space-flag 1
133 Selects the window in the given (spacial) direction relative to the reference node\&.
138 Selects the window in the given (cyclic) direction relative to the reference node\&.
143 Selects the node at the given path\&.
148 Selects the first node that matches the given selectors\&.
153 Selects the previously focused node relative to the reference node\&.
158 Selects the newest node in the history of the focused node\&.
163 Selects the node older than the reference node in the history\&.
168 Selects the node newer than the reference node in the history\&.
173 Selects the currently focused node\&.
178 Selects the window under the pointer\&.
183 Selects the biggest window\&.
188 Selects the node with the given ID\&.
193 .nr an-no-space-flag 1
200 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)\&.
204 Jumps to the first child\&.
209 Jumps to the second child\&.
214 Jumps to the brother node\&.
219 Jumps to the parent node\&.
224 Jumps to the node holding the edge in the given direction\&.
229 .nr an-no-space-flag 1
238 Only consider focused or unfocused nodes\&.
243 Only consider nodes in automatic or manual insertion mode\&. See also
244 \fB\-\-presel\-dir\fR
254 Only consider nodes in or not in the reference desktop\&.
259 Only consider nodes in or not in the active desktop of their monitor\&.
264 Only consider leaves or internal nodes\&.
269 Only consider nodes that hold or don\(cqt hold a window\&.
272 [!](tiled|pseudo_tiled|floating|fullscreen)
274 Only consider windows in or not in the given state\&.
279 Only consider windows that have or don\(cqt have the same class as the reference window\&.
284 Only consider nodes that are or aren\(cqt descendants of the reference node\&.
289 Only consider nodes that are or aren\(cqt ancestors of the reference node\&.
292 [!](hidden|sticky|private|locked|marked|urgent)
294 Only consider windows that have or don\(cqt have the given flag set\&.
297 [!](below|normal|above)
299 Only consider windows in or not in the given layer\&.
310 DESKTOP_SEL := [DESKTOP_SEL#](CYCLE_DIR|any|last|newest|older|newer|
311 [MONITOR_SEL:](focused|^<n>)|
312 <desktop_id>|<desktop_name>)[\&.[!]occupied][\&.[!]focused][\&.[!]urgent][\&.[!]local]
319 .nr an-no-space-flag 1
328 Selects the desktop in the given direction relative to the reference desktop\&.
333 Selects the first desktop that matches the given selectors\&.
338 Selects the previously focused desktop relative to the reference desktop\&.
343 Selects the newest desktop in the history of the focused desktops\&.
348 Selects the desktop older than the reference desktop in the history\&.
353 Selects the desktop newer than the reference desktop in the history\&.
358 Selects the currently focused desktop\&.
363 Selects the nth desktop\&. If
365 is given, selects the nth desktop on the selected monitor\&.
370 Selects the desktop with the given ID\&.
375 Selects the desktop with the given name\&.
380 .nr an-no-space-flag 1
389 Only consider occupied or free desktops\&.
394 Only consider focused or unfocused desktops\&.
399 Only consider urgent or non urgent desktops\&.
404 Only consider desktops inside or outside of the reference monitor\&.
415 MONITOR_SEL := [MONITOR_SEL#](DIR|CYCLE_DIR|any|last|newest|older|newer|
416 focused|pointed|primary|^<n>|
417 <monitor_id>|<monitor_name>)[\&.[!]occupied][\&.[!]focused]
424 .nr an-no-space-flag 1
433 Selects the monitor in the given (spacial) direction relative to the reference monitor\&.
438 Selects the monitor in the given (cyclic) direction relative to the reference monitor\&.
443 Selects the first monitor that matches the given selectors\&.
448 Selects the previously focused monitor relative to the reference monitor\&.
453 Selects the newest monitor in the history of the focused monitors\&.
458 Selects the monitor older than the reference monitor in the history\&.
463 Selects the monitor newer than the reference monitor in the history\&.
468 Selects the currently focused monitor\&.
473 Selects the monitor under the pointer\&.
478 Selects the primary monitor\&.
483 Selects the nth monitor\&.
488 Selects the monitor with the given ID\&.
493 Selects the monitor with the given name\&.
498 .nr an-no-space-flag 1
507 Only consider monitors where the focused desktop is occupied or free\&.
512 Only consider focused or unfocused monitors\&.
519 Its size and position are determined by the splitting type and ratio of each node of its path in the window tree\&.
524 Has an unrestricted size while being centered in its tiling space\&.
529 Can be moved/resized freely\&. Although it doesn\(cqt occupy any tiling space, it is still part of the window tree\&.
534 Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer by default\&.
540 Is hidden and doesn\(cqt occupy any tiling space\&.
545 Stays in the focused desktop of its monitor\&.
550 Tries to keep the same tiling position/size\&.
562 Is marked (useful for deferred actions)\&. A marked node becomes unmarked after being sent on a preselected node\&.
567 Has its urgency hint set\&. This flag is set externally\&.
569 .SH "STACKING LAYERS"
571 There\(cqs three stacking layers: BELOW, NORMAL and ABOVE\&.
573 In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fullscreen < floating\&.
576 A leaf node that doesn\(cqt hold any window is called a receptacle\&. When a node is inserted on a receptacle in automatic mode, it will replace the receptacle\&. A receptacle can be inserted on a node and preselected\&. Receptacles can therefore be used to build a tree whose leaves are receptacles\&. Using the appropriate rules, one can then send windows on the leaves of this tree\&. This feature is used in \fIexamples/receptacles\fR to store and recreate layouts\&.
581 .nr an-no-space-flag 1
588 node [\fINODE_SEL\fR] \fICOMMANDS\fR
590 If \fINODE_SEL\fR is omitted, \fBfocused\fR is assumed\&.
594 .nr an-no-space-flag 1
601 \fB\-f\fR, \fB\-\-focus\fR [\fINODE_SEL\fR]
603 Focus the selected or given node\&.
606 \fB\-a\fR, \fB\-\-activate\fR [\fINODE_SEL\fR]
608 Activate the selected or given node\&.
611 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR [\fB\-\-follow\fR]
613 Send the selected node to the given desktop\&. If
615 is passed, the focused node will stay focused\&.
618 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR [\fB\-\-follow\fR]
620 Send the selected node to the given monitor\&. If
622 is passed, the focused node will stay focused\&.
625 \fB\-n\fR, \fB\-\-to\-node\fR \fINODE_SEL\fR [\fB\-\-follow\fR]
627 Send the selected node on the given node\&. If
629 is passed, the focused node will stay focused\&.
632 \fB\-s\fR, \fB\-\-swap\fR \fINODE_SEL\fR [\fB\-\-follow\fR]
634 Swap the selected node with the given node\&. If
636 is passed, the focused node will stay focused\&.
639 \fB\-p\fR, \fB\-\-presel\-dir\fR [~]\fIDIR\fR|cancel
641 Preselect the splitting area of the selected node (or cancel the preselection)\&. If
645 and the current preselection direction matches
646 \fIDIR\fR, then the argument is interpreted as
647 \fBcancel\fR\&. A node with a preselected area is said to be in "manual insertion mode"\&.
650 \fB\-o\fR, \fB\-\-presel\-ratio\fR \fIRATIO\fR
652 Set the splitting ratio of the preselection area\&.
655 \fB\-v\fR, \fB\-\-move\fR \fIdx\fR \fIdy\fR
657 Move the selected window by
659 pixels horizontally and
664 \fB\-z\fR, \fB\-\-resize\fR top|left|bottom|right|top_left|top_right|bottom_right|bottom_left \fIdx\fR \fIdy\fR
666 Resize the selected window by moving the given handle by
668 pixels horizontally and
673 \fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR|(+|\-)(\fIPIXELS\fR|\fIFRACTION\fR)
675 Set the splitting ratio of the selected node (0 <
680 \fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
682 Rotate the tree rooted at the selected node\&.
685 \fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
687 Flip the the tree rooted at selected node\&.
690 \fB\-E\fR, \fB\-\-equalize\fR
692 Reset the split ratios of the tree rooted at the selected node to their default value\&.
695 \fB\-B\fR, \fB\-\-balance\fR
697 Adjust the split ratios of the tree rooted at the selected node so that all windows occupy the same area\&.
700 \fB\-C\fR, \fB\-\-circulate\fR forward|backward
702 Circulate the windows of the tree rooted at the selected node\&.
705 \fB\-t\fR, \fB\-\-state\fR [~](tiled|pseudo_tiled|floating|fullscreen)
707 Set the state of the selected window\&. If
709 is present and the current state matches the given state, then the argument is interpreted as the last state\&.
712 \fB\-g\fR, \fB\-\-flag\fR hidden|sticky|private|locked|marked[=on|off]
714 Set or toggle the given flag for the selected node\&.
717 \fB\-l\fR, \fB\-\-layer\fR below|normal|above
719 Set the stacking layer of the selected window\&.
722 \fB\-i\fR, \fB\-\-insert\-receptacle\fR
724 Insert a receptacle node at the selected node\&.
727 \fB\-c\fR, \fB\-\-close\fR
729 Close the windows rooted at the selected node\&.
732 \fB\-k\fR, \fB\-\-kill\fR
734 Kill the windows rooted at the selected node\&.
740 .nr an-no-space-flag 1
747 desktop [\fIDESKTOP_SEL\fR] \fICOMMANDS\fR
749 If \fIDESKTOP_SEL\fR is omitted, \fBfocused\fR is assumed\&.
753 .nr an-no-space-flag 1
760 \fB\-f\fR, \fB\-\-focus\fR [\fIDESKTOP_SEL\fR]
762 Focus the selected or given desktop\&.
765 \fB\-a\fR, \fB\-\-activate\fR [\fIDESKTOP_SEL\fR]
767 Activate the selected or given desktop\&.
770 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR [\fB\-\-follow\fR]
772 Send the selected desktop to the given monitor\&. If
774 is passed, the focused desktop will stay focused\&.
777 \fB\-s\fR, \fB\-\-swap\fR \fIDESKTOP_SEL\fR [\fB\-\-follow\fR]
779 Swap the selected desktop with the given desktop\&. If
781 is passed, the focused desktop will stay focused\&.
784 \fB\-l\fR, \fB\-\-layout\fR \fICYCLE_DIR\fR|monocle|tiled
786 Set or cycle the layout of the selected desktop\&.
789 \fB\-n\fR, \fB\-\-rename\fR <new_name>
791 Rename the selected desktop\&.
794 \fB\-b\fR, \fB\-\-bubble\fR \fICYCLE_DIR\fR
796 Bubble the selected desktop in the given direction\&.
799 \fB\-r\fR, \fB\-\-remove\fR
801 Remove the selected desktop\&.
807 .nr an-no-space-flag 1
814 monitor [\fIMONITOR_SEL\fR] \fICOMMANDS\fR
816 If \fIMONITOR_SEL\fR is omitted, \fBfocused\fR is assumed\&.
820 .nr an-no-space-flag 1
827 \fB\-f\fR, \fB\-\-focus\fR [\fIMONITOR_SEL\fR]
829 Focus the selected or given monitor\&.
832 \fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
834 Swap the selected monitor with the given monitor\&.
837 \fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
839 Create desktops with the given names in the selected monitor\&.
842 \fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
844 Reorder the desktops of the selected monitor to match the given order\&.
847 \fB\-d\fR, \fB\-\-reset\-desktops\fR <name>\&...
849 Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&.
852 \fB\-g\fR, \fB\-\-rectangle\fR WxH+X+Y
854 Set the rectangle of the selected monitor\&.
857 \fB\-n\fR, \fB\-\-rename\fR <new_name>
859 Rename the selected monitor\&.
862 \fB\-r\fR, \fB\-\-remove\fR
864 Remove the selected monitor\&.
870 .nr an-no-space-flag 1
877 query \fICOMMANDS\fR [\fIOPTIONS\fR]
881 .nr an-no-space-flag 1
888 The optional selectors are references\&.
890 \fB\-N\fR, \fB\-\-nodes\fR [\fINODE_SEL\fR]
892 List the IDs of the matching nodes\&.
895 \fB\-D\fR, \fB\-\-desktops\fR [\fIDESKTOP_SEL\fR]
897 List the IDs (or names) of the matching desktops\&.
900 \fB\-M\fR, \fB\-\-monitors\fR [\fIMONITOR_SEL\fR]
902 List the IDs (or names) of the matching monitors\&.
905 \fB\-T\fR, \fB\-\-tree\fR
907 Print a JSON representation of the matching item\&.
912 .nr an-no-space-flag 1
919 \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]
921 Constrain matches to the selected monitor, desktop or node\&. The descriptor can be omitted for
930 Print names instead of IDs\&. Can only be used with
939 .nr an-no-space-flag 1
950 .nr an-no-space-flag 1
957 \fB\-d\fR, \fB\-\-dump\-state\fR
959 Dump the current world state on standard output\&.
962 \fB\-l\fR, \fB\-\-load\-state\fR <file_path>
964 Load a world state from the given file\&.
967 \fB\-a\fR, \fB\-\-add\-monitor\fR <name> WxH+X+Y
969 Add a monitor for the given name and rectangle\&.
972 \fB\-O\fR, \fB\-\-reorder\-monitors\fR <name>\&...
974 Reorder the list of monitors to match the given order\&.
977 \fB\-o\fR, \fB\-\-adopt\-orphans\fR
979 Manage all the unmanaged windows remaining from a previous session\&.
982 \fB\-h\fR, \fB\-\-record\-history\fR on|off
984 Enable or disable the recording of node focus history\&.
987 \fB\-g\fR, \fB\-\-get\-status\fR
989 Print the current status information\&.
995 .nr an-no-space-flag 1
1006 .nr an-no-space-flag 1
1013 \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|marked|center|follow|manage|focus|border)=(on|off)] [rectangle=WxH+X+Y]
1015 Create a new rule\&.
1018 \fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|(<class_name>|*)[:(<instance_name>|*)]\&...
1020 Remove the given rules\&.
1023 \fB\-l\fR, \fB\-\-list\fR
1031 .nr an-no-space-flag 1
1035 \fBGeneral Syntax\fR
1038 config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-n \fINODE_SEL\fR] <setting> [<value>]
1040 Get or set the value of <setting>\&.
1046 .nr an-no-space-flag 1
1050 \fBGeneral Syntax\fR
1053 subscribe [\fIOPTIONS\fR] (all|report|monitor|desktop|node|\&...)*
1055 Continuously print events\&. See the
1057 section for the description of each event\&.
1062 .nr an-no-space-flag 1
1069 \fB\-f\fR, \fB\-\-fifo\fR
1071 Print a path to a FIFO from which events can be read and return\&.
1074 \fB\-c\fR, \fB\-\-count\fR \fICOUNT\fR
1076 Stop the corresponding
1078 process after having received
1086 .nr an-no-space-flag 1
1090 \fBGeneral Syntax\fR
1095 Quit with an optional exit status\&.
1100 If the server can\(cqt handle a message, \fBbspc\fR will return with a non\-zero exit code\&.
1103 Colors are in the form \fI#RRGGBB\fR, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
1105 All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
1106 .SS "Global Settings"
1108 \fInormal_border_color\fR
1110 Color of the border of an unfocused window\&.
1113 \fIactive_border_color\fR
1115 Color of the border of a focused window of an unfocused monitor\&.
1118 \fIfocused_border_color\fR
1120 Color of the border of a focused window of a focused monitor\&.
1123 \fIpresel_feedback_color\fR
1126 \fBnode \-\-presel\-{dir,ratio}\fR
1127 message feedback area\&.
1132 Default split ratio\&.
1137 Prefix prepended to each of the status lines\&.
1140 \fIexternal_rules_command\fR
1142 External command used to retrieve rule consequences\&. The command will receive the following arguments: window ID, class name, instance name, and intermediate consequences\&. The output of that command must have the following format:
1143 \fBkey1=value1 key2=value2 \&...\fR
1144 (the valid key/value pairs are given in the description of the
1149 \fIinitial_polarity\fR
1151 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:
1153 \fBsecond_child\fR\&.
1156 \fIdirectional_focus_tightness\fR
1158 The tightness of the algorithm used to decide whether a window is on the
1160 side of another window\&. Accept the following values:
1165 \fIborderless_monocle\fR
1167 Remove borders of tiled windows for the
1172 \fIgapless_monocle\fR
1174 Remove gaps of tiled windows for the
1179 \fIpaddingless_monocle\fR
1181 Remove padding space for the
1186 \fIsingle_monocle\fR
1188 Set the desktop layout to
1190 if there\(cqs only one tiled window in the tree\&.
1193 \fIpointer_motion_interval\fR
1195 The minimum interval, in milliseconds, between two motion notify events\&.
1198 \fIpointer_modifier\fR
1200 Keyboard modifier used for moving or resizing windows\&. Accept the following values:
1211 \fIpointer_action1\fR, \fIpointer_action2\fR, \fIpointer_action3\fR
1213 Action performed when pressing
1214 \fIpointer_modifier\fR
1216 \fIbutton<n>\fR\&. Accept the following values:
1219 \fBresize_corner\fR,
1224 \fIclick_to_focus\fR
1226 Button used for focusing a window (or a monitor)\&. The possible values are:
1231 \fBnone\fR\&. Defaults to
1235 \fIswallow_first_click\fR
1237 Don\(cqt replay the click that makes a window focused if
1238 \fIclick_to_focus\fR
1243 \fIfocus_follows_pointer\fR
1245 Focus the window under the pointer\&.
1248 \fIpointer_follows_focus\fR
1250 When focusing a window, put the pointer at its center\&.
1253 \fIpointer_follows_monitor\fR
1255 When focusing a monitor, put the pointer at its center\&.
1258 \fImapping_events_count\fR
1261 \fBmapping_events_count\fR
1262 mapping notify events\&. A negative value implies that every event needs to be handled\&.
1265 \fIignore_ewmh_focus\fR
1267 Ignore EWMH focus requests coming from applications\&. Defaults to
1271 \fIignore_ewmh_fullscreen\fR
1273 Block the fullscreen state transitions that originate from an EWMH request\&. The possible values are:
1275 \fBall\fR, or a comma separated list of the following values:
1280 \fIcenter_pseudo_tiled\fR
1282 Center pseudo tiled windows into their tiling rectangles\&. Defaults to
1286 \fIhonor_size_hints\fR
1288 Apply ICCCM window size hints\&.
1291 \fIremove_disabled_monitors\fR
1293 Consider disabled monitors as disconnected\&. Defaults to
1297 \fIremove_unplugged_monitors\fR
1299 Remove unplugged monitors\&. Defaults to
1303 \fImerge_overlapping_monitors\fR
1305 Merge overlapping monitors (the bigger remains)\&. Defaults to
1308 .SS "Monitor and Desktop Settings"
1310 \fItop_padding\fR, \fIright_padding\fR, \fIbottom_padding\fR, \fIleft_padding\fR
1312 Padding space added at the sides of the monitor or desktop\&.
1314 .SS "Desktop Settings"
1318 Size of the gap that separates windows\&.
1324 Window border width\&.
1326 .SH "POINTER BINDINGS"
1328 \fIclick_to_focus\fR
1330 Focus the window (or the monitor) under the pointer if the value isn\(cqt
1334 \fIpointer_modifier\fR + \fIbutton1\fR
1336 Move the window under the pointer\&.
1339 \fIpointer_modifier\fR + \fIbutton2\fR
1341 Resize the window under the pointer by dragging the nearest side\&.
1344 \fIpointer_modifier\fR + \fIbutton3\fR
1346 Resize the window under the pointer by dragging the nearest corner\&.
1349 The behavior of \fIpointer_modifier\fR + \fIbutton<n>\fR can be modified through the \fIpointer_action<n>\fR setting\&.
1354 See the next section for the description of the format\&.
1357 \fImonitor_add <monitor_id> <monitor_name> <monitor_geometry>\fR
1359 A monitor is added\&.
1362 \fImonitor_rename <monitor_id> <old_name> <new_name>\fR
1364 A monitor is renamed\&.
1367 \fImonitor_remove <monitor_id>\fR
1369 A monitor is removed\&.
1372 \fImonitor_swap <src_monitor_id> <dst_monitor_id>\fR
1374 A monitor is swapped\&.
1377 \fImonitor_focus <monitor_id>\fR
1379 A monitor is focused\&.
1382 \fImonitor_geometry <monitor_id> <monitor_geometry>\fR
1384 The geometry of a monitor changed\&.
1387 \fIdesktop_add <monitor_id> <desktop_id> <desktop_name>\fR
1389 A desktop is added\&.
1392 \fIdesktop_rename <monitor_id> <desktop_id> <old_name> <new_name>\fR
1394 A desktop is renamed\&.
1397 \fIdesktop_remove <monitor_id> <desktop_id>\fR
1399 A desktop is removed\&.
1402 \fIdesktop_swap <src_monitor_id> <src_desktop_id> <dst_monitor_id> <dst_desktop_id>\fR
1404 A desktop is swapped\&.
1407 \fIdesktop_transfer <src_monitor_id> <src_desktop_id> <dst_monitor_id>\fR
1409 A desktop is transferred\&.
1412 \fIdesktop_focus <monitor_id> <desktop_id>\fR
1414 A desktop is focused\&.
1417 \fIdesktop_activate <monitor_id> <desktop_id>\fR
1419 A desktop is activated\&.
1422 \fIdesktop_layout <monitor_id> <desktop_id> tiled|monocle\fR
1424 The layout of a desktop changed\&.
1427 \fInode_add <monitor_id> <desktop_id> <ip_id> <node_id>\fR
1432 \fInode_remove <monitor_id> <desktop_id> <node_id>\fR
1434 A node is removed\&.
1437 \fInode_swap <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1439 A node is swapped\&.
1442 \fInode_transfer <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1444 A node is transferred\&.
1447 \fInode_focus <monitor_id> <desktop_id> <node_id>\fR
1449 A node is focused\&.
1452 \fInode_activate <monitor_id> <desktop_id> <node_id>\fR
1454 A node is activated\&.
1457 \fInode_presel <monitor_id> <desktop_id> <node_id> (dir DIR|ratio RATIO|cancel)\fR
1459 A node is preselected\&.
1462 \fInode_stack <node_id_1> below|above <node_id_2>\fR
1464 A node is stacked below or above another node\&.
1467 \fInode_geometry <monitor_id> <desktop_id> <node_id> <node_geometry>\fR
1469 The geometry of a window changed\&.
1472 \fInode_state <monitor_id> <desktop_id> <node_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
1474 The state of a window changed\&.
1477 \fInode_flag <monitor_id> <desktop_id> <node_id> hidden|sticky|private|locked|marked|urgent on|off\fR
1479 One of the flags of a node changed\&.
1482 \fInode_layer <monitor_id> <desktop_id> <node_id> below|normal|above\fR
1484 The layer of a window changed\&.
1487 \fIpointer_action <monitor_id> <desktop_id> <node_id> move|resize_corner|resize_side begin|end\fR
1489 A pointer action occured\&.
1492 Please note that \fBbspwm\fR initializes monitors before it reads messages on its socket, therefore the initial monitor events can\(cqt be received\&.
1495 Each report event message is composed of items separated by colons\&.
1497 Each item has the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
1499 \fIM<monitor_name>\fR
1504 \fIm<monitor_name>\fR
1506 Unfocused monitor\&.
1509 \fIO<desktop_name>\fR
1511 Occupied focused desktop\&.
1514 \fIo<desktop_name>\fR
1516 Occupied unfocused desktop\&.
1519 \fIF<desktop_name>\fR
1521 Free focused desktop\&.
1524 \fIf<desktop_name>\fR
1526 Free unfocused desktop\&.
1529 \fIU<desktop_name>\fR
1531 Urgent focused desktop\&.
1534 \fIu<desktop_name>\fR
1536 Urgent unfocused desktop\&.
1541 Layout of the focused desktop of a monitor\&.
1546 State of the focused node of a focused desktop\&.
1551 Active flags of the focused node of a focused desktop\&.
1553 .SH "ENVIRONMENT VARIABLES"
1557 The path of the socket used for the communication between
1560 \fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
1561 \fI/tmp/bspwm<host_name>_<display_number>_<screen_number>\-socket\fR\&.
1567 \h'-04'\(bu\h'+03'\c
1573 Steven Allen <steven at stebalien\&.com>
1578 \h'-04'\(bu\h'+03'\c
1584 Thomas Adam <thomas at xteddy\&.org>
1589 \h'-04'\(bu\h'+03'\c
1595 Ivan Kanakarakis <ivan\&.kanak at gmail\&.com>
1599 Bastien Dejean <nihilhill at gmail\&.com>