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.5-3-gdb5b0cd
10 .TH "BSPWM" "1" "06/19/2018" "Bspwm 0\&.9\&.5\-3\-gdb5b0cd" "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|biggest|smallest
105 <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 smallest window\&.
193 Selects the node with the given ID\&.
198 .nr an-no-space-flag 1
205 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)\&.
209 Jumps to the first child\&.
214 Jumps to the second child\&.
219 Jumps to the brother node\&.
224 Jumps to the parent node\&.
229 Jumps to the node holding the edge in the given direction\&.
234 .nr an-no-space-flag 1
243 Only consider focused or unfocused nodes\&.
248 Only consider nodes in automatic or manual insertion mode\&. See also
249 \fB\-\-presel\-dir\fR
259 Only consider nodes in or not in the reference desktop\&.
264 Only consider nodes in or not in the active desktop of their monitor\&.
269 Only consider leaves or internal nodes\&.
274 Only consider nodes that hold or don\(cqt hold a window\&.
277 [!](tiled|pseudo_tiled|floating|fullscreen)
279 Only consider windows in or not in the given state\&.
284 Only consider windows that have or don\(cqt have the same class as the reference window\&.
289 Only consider nodes that are or aren\(cqt descendants of the reference node\&.
294 Only consider nodes that are or aren\(cqt ancestors of the reference node\&.
297 [!](hidden|sticky|private|locked|marked|urgent)
299 Only consider windows that have or don\(cqt have the given flag set\&.
302 [!](below|normal|above)
304 Only consider windows in or not in the given layer\&.
315 DESKTOP_SEL := [DESKTOP_SEL#](CYCLE_DIR|any|last|newest|older|newer|
316 [MONITOR_SEL:](focused|^<n>)|
317 <desktop_id>|<desktop_name>)[\&.[!]occupied][\&.[!]focused][\&.[!]urgent][\&.[!]local]
324 .nr an-no-space-flag 1
333 Selects the desktop in the given direction relative to the reference desktop\&.
338 Selects the first desktop that matches the given selectors\&.
343 Selects the previously focused desktop relative to the reference desktop\&.
348 Selects the newest desktop in the history of the focused desktops\&.
353 Selects the desktop older than the reference desktop in the history\&.
358 Selects the desktop newer than the reference desktop in the history\&.
363 Selects the currently focused desktop\&.
368 Selects the nth desktop\&. If
370 is given, selects the nth desktop on the selected monitor\&.
375 Selects the desktop with the given ID\&.
380 Selects the desktop with the given name\&.
385 .nr an-no-space-flag 1
394 Only consider occupied or free desktops\&.
399 Only consider focused or unfocused desktops\&.
404 Only consider urgent or non urgent desktops\&.
409 Only consider desktops inside or outside of the reference monitor\&.
420 MONITOR_SEL := [MONITOR_SEL#](DIR|CYCLE_DIR|any|last|newest|older|newer|
421 focused|pointed|primary|^<n>|
422 <monitor_id>|<monitor_name>)[\&.[!]occupied][\&.[!]focused]
429 .nr an-no-space-flag 1
438 Selects the monitor in the given (spacial) direction relative to the reference monitor\&.
443 Selects the monitor in the given (cyclic) direction relative to the reference monitor\&.
448 Selects the first monitor that matches the given selectors\&.
453 Selects the previously focused monitor relative to the reference monitor\&.
458 Selects the newest monitor in the history of the focused monitors\&.
463 Selects the monitor older than the reference monitor in the history\&.
468 Selects the monitor newer than the reference monitor in the history\&.
473 Selects the currently focused monitor\&.
478 Selects the monitor under the pointer\&.
483 Selects the primary monitor\&.
488 Selects the nth monitor\&.
493 Selects the monitor with the given ID\&.
498 Selects the monitor with the given name\&.
503 .nr an-no-space-flag 1
512 Only consider monitors where the focused desktop is occupied or free\&.
517 Only consider focused or unfocused monitors\&.
524 Its size and position are determined by the splitting type and ratio of each node of its path in the window tree\&.
529 Has an unrestricted size while being centered in its tiling space\&.
534 Can be moved/resized freely\&. Although it doesn\(cqt occupy any tiling space, it is still part of the window tree\&.
539 Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer by default\&.
545 Is hidden and doesn\(cqt occupy any tiling space\&.
550 Stays in the focused desktop of its monitor\&.
555 Tries to keep the same tiling position/size\&.
567 Is marked (useful for deferred actions)\&. A marked node becomes unmarked after being sent on a preselected node\&.
572 Has its urgency hint set\&. This flag is set externally\&.
574 .SH "STACKING LAYERS"
576 There\(cqs three stacking layers: BELOW, NORMAL and ABOVE\&.
578 In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fullscreen < floating\&.
581 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, preselected and killed\&. 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\&.
586 .nr an-no-space-flag 1
593 node [\fINODE_SEL\fR] \fICOMMANDS\fR
595 If \fINODE_SEL\fR is omitted, \fBfocused\fR is assumed\&.
599 .nr an-no-space-flag 1
606 \fB\-f\fR, \fB\-\-focus\fR [\fINODE_SEL\fR]
608 Focus the selected or given node\&.
611 \fB\-a\fR, \fB\-\-activate\fR [\fINODE_SEL\fR]
613 Activate the selected or given node\&.
616 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR [\fB\-\-follow\fR]
618 Send the selected node to the given desktop\&. If
620 is passed, the focused node will stay focused\&.
623 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR [\fB\-\-follow\fR]
625 Send the selected node to the given monitor\&. If
627 is passed, the focused node will stay focused\&.
630 \fB\-n\fR, \fB\-\-to\-node\fR \fINODE_SEL\fR [\fB\-\-follow\fR]
632 Send the selected node on the given node\&. If
634 is passed, the focused node will stay focused\&.
637 \fB\-s\fR, \fB\-\-swap\fR \fINODE_SEL\fR [\fB\-\-follow\fR]
639 Swap the selected node with the given node\&. If
641 is passed, the focused node will stay focused\&.
644 \fB\-p\fR, \fB\-\-presel\-dir\fR [~]\fIDIR\fR|cancel
646 Preselect the splitting area of the selected node (or cancel the preselection)\&. If
650 and the current preselection direction matches
651 \fIDIR\fR, then the argument is interpreted as
652 \fBcancel\fR\&. A node with a preselected area is said to be in "manual insertion mode"\&.
655 \fB\-o\fR, \fB\-\-presel\-ratio\fR \fIRATIO\fR
657 Set the splitting ratio of the preselection area\&.
660 \fB\-v\fR, \fB\-\-move\fR \fIdx\fR \fIdy\fR
662 Move the selected window by
664 pixels horizontally and
669 \fB\-z\fR, \fB\-\-resize\fR top|left|bottom|right|top_left|top_right|bottom_right|bottom_left \fIdx\fR \fIdy\fR
671 Resize the selected window by moving the given handle by
673 pixels horizontally and
678 \fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR|(+|\-)(\fIPIXELS\fR|\fIFRACTION\fR)
680 Set the splitting ratio of the selected node (0 <
685 \fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
687 Rotate the tree rooted at the selected node\&.
690 \fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
692 Flip the the tree rooted at selected node\&.
695 \fB\-E\fR, \fB\-\-equalize\fR
697 Reset the split ratios of the tree rooted at the selected node to their default value\&.
700 \fB\-B\fR, \fB\-\-balance\fR
702 Adjust the split ratios of the tree rooted at the selected node so that all windows occupy the same area\&.
705 \fB\-C\fR, \fB\-\-circulate\fR forward|backward
707 Circulate the windows of the tree rooted at the selected node\&.
710 \fB\-t\fR, \fB\-\-state\fR [~](tiled|pseudo_tiled|floating|fullscreen)
712 Set the state of the selected window\&. If
714 is present and the current state matches the given state, then the argument is interpreted as the last state\&.
717 \fB\-g\fR, \fB\-\-flag\fR hidden|sticky|private|locked|marked[=on|off]
719 Set or toggle the given flag for the selected node\&.
722 \fB\-l\fR, \fB\-\-layer\fR below|normal|above
724 Set the stacking layer of the selected window\&.
727 \fB\-i\fR, \fB\-\-insert\-receptacle\fR
729 Insert a receptacle node at the selected node\&.
732 \fB\-c\fR, \fB\-\-close\fR
734 Close the windows rooted at the selected node\&.
737 \fB\-k\fR, \fB\-\-kill\fR
739 Kill the windows rooted at the selected node\&.
745 .nr an-no-space-flag 1
752 desktop [\fIDESKTOP_SEL\fR] \fICOMMANDS\fR
754 If \fIDESKTOP_SEL\fR is omitted, \fBfocused\fR is assumed\&.
758 .nr an-no-space-flag 1
765 \fB\-f\fR, \fB\-\-focus\fR [\fIDESKTOP_SEL\fR]
767 Focus the selected or given desktop\&.
770 \fB\-a\fR, \fB\-\-activate\fR [\fIDESKTOP_SEL\fR]
772 Activate the selected or given desktop\&.
775 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR [\fB\-\-follow\fR]
777 Send the selected desktop to the given monitor\&. If
779 is passed, the focused desktop will stay focused\&.
782 \fB\-s\fR, \fB\-\-swap\fR \fIDESKTOP_SEL\fR [\fB\-\-follow\fR]
784 Swap the selected desktop with the given desktop\&. If
786 is passed, the focused desktop will stay focused\&.
789 \fB\-l\fR, \fB\-\-layout\fR \fICYCLE_DIR\fR|monocle|tiled
791 Set or cycle the layout of the selected desktop\&.
794 \fB\-n\fR, \fB\-\-rename\fR <new_name>
796 Rename the selected desktop\&.
799 \fB\-b\fR, \fB\-\-bubble\fR \fICYCLE_DIR\fR
801 Bubble the selected desktop in the given direction\&.
804 \fB\-r\fR, \fB\-\-remove\fR
806 Remove the selected desktop\&.
812 .nr an-no-space-flag 1
819 monitor [\fIMONITOR_SEL\fR] \fICOMMANDS\fR
821 If \fIMONITOR_SEL\fR is omitted, \fBfocused\fR is assumed\&.
825 .nr an-no-space-flag 1
832 \fB\-f\fR, \fB\-\-focus\fR [\fIMONITOR_SEL\fR]
834 Focus the selected or given monitor\&.
837 \fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
839 Swap the selected monitor with the given monitor\&.
842 \fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
844 Create desktops with the given names in the selected monitor\&.
847 \fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
849 Reorder the desktops of the selected monitor to match the given order\&.
852 \fB\-d\fR, \fB\-\-reset\-desktops\fR <name>\&...
854 Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&.
857 \fB\-g\fR, \fB\-\-rectangle\fR WxH+X+Y
859 Set the rectangle of the selected monitor\&.
862 \fB\-n\fR, \fB\-\-rename\fR <new_name>
864 Rename the selected monitor\&.
867 \fB\-r\fR, \fB\-\-remove\fR
869 Remove the selected monitor\&.
875 .nr an-no-space-flag 1
882 query \fICOMMANDS\fR [\fIOPTIONS\fR]
886 .nr an-no-space-flag 1
893 The optional selectors are references\&.
895 \fB\-N\fR, \fB\-\-nodes\fR [\fINODE_SEL\fR]
897 List the IDs of the matching nodes\&.
900 \fB\-D\fR, \fB\-\-desktops\fR [\fIDESKTOP_SEL\fR]
902 List the IDs (or names) of the matching desktops\&.
905 \fB\-M\fR, \fB\-\-monitors\fR [\fIMONITOR_SEL\fR]
907 List the IDs (or names) of the matching monitors\&.
910 \fB\-T\fR, \fB\-\-tree\fR
912 Print a JSON representation of the matching item\&.
917 .nr an-no-space-flag 1
924 \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]
926 Constrain matches to the selected monitor, desktop or node\&. The descriptor can be omitted for
935 Print names instead of IDs\&. Can only be used with
944 .nr an-no-space-flag 1
955 .nr an-no-space-flag 1
962 \fB\-d\fR, \fB\-\-dump\-state\fR
964 Dump the current world state on standard output\&.
967 \fB\-l\fR, \fB\-\-load\-state\fR <file_path>
969 Load a world state from the given file\&.
972 \fB\-a\fR, \fB\-\-add\-monitor\fR <name> WxH+X+Y
974 Add a monitor for the given name and rectangle\&.
977 \fB\-O\fR, \fB\-\-reorder\-monitors\fR <name>\&...
979 Reorder the list of monitors to match the given order\&.
982 \fB\-o\fR, \fB\-\-adopt\-orphans\fR
984 Manage all the unmanaged windows remaining from a previous session\&.
987 \fB\-h\fR, \fB\-\-record\-history\fR on|off
989 Enable or disable the recording of node focus history\&.
992 \fB\-g\fR, \fB\-\-get\-status\fR
994 Print the current status information\&.
1000 .nr an-no-space-flag 1
1004 \fBGeneral Syntax\fR
1011 .nr an-no-space-flag 1
1018 \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]
1020 Create a new rule\&.
1023 \fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|(<class_name>|*)[:(<instance_name>|*)]\&...
1025 Remove the given rules\&.
1028 \fB\-l\fR, \fB\-\-list\fR
1036 .nr an-no-space-flag 1
1040 \fBGeneral Syntax\fR
1043 config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-n \fINODE_SEL\fR] <setting> [<value>]
1045 Get or set the value of <setting>\&.
1051 .nr an-no-space-flag 1
1055 \fBGeneral Syntax\fR
1058 subscribe [\fIOPTIONS\fR] (all|report|monitor|desktop|node|\&...)*
1060 Continuously print events\&. See the
1062 section for the description of each event\&.
1067 .nr an-no-space-flag 1
1074 \fB\-f\fR, \fB\-\-fifo\fR
1076 Print a path to a FIFO from which events can be read and return\&.
1079 \fB\-c\fR, \fB\-\-count\fR \fICOUNT\fR
1081 Stop the corresponding
1083 process after having received
1091 .nr an-no-space-flag 1
1095 \fBGeneral Syntax\fR
1100 Quit with an optional exit status\&.
1105 If the server can\(cqt handle a message, \fBbspc\fR will return with a non\-zero exit code\&.
1108 Colors are in the form \fI#RRGGBB\fR, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
1110 All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
1111 .SS "Global Settings"
1113 \fInormal_border_color\fR
1115 Color of the border of an unfocused window\&.
1118 \fIactive_border_color\fR
1120 Color of the border of a focused window of an unfocused monitor\&.
1123 \fIfocused_border_color\fR
1125 Color of the border of a focused window of a focused monitor\&.
1128 \fIpresel_feedback_color\fR
1131 \fBnode \-\-presel\-{dir,ratio}\fR
1132 message feedback area\&.
1137 Default split ratio\&.
1142 Prefix prepended to each of the status lines\&.
1145 \fIexternal_rules_command\fR
1147 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:
1148 \fBkey1=value1 key2=value2 \&...\fR
1149 (the valid key/value pairs are given in the description of the
1154 \fIinitial_polarity\fR
1156 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:
1158 \fBsecond_child\fR\&.
1161 \fIdirectional_focus_tightness\fR
1163 The tightness of the algorithm used to decide whether a window is on the
1165 side of another window\&. Accept the following values:
1170 \fIborderless_monocle\fR
1172 Remove borders of tiled windows for the
1177 \fIgapless_monocle\fR
1179 Remove gaps of tiled windows for the
1184 \fIpaddingless_monocle\fR
1186 Remove padding space for the
1191 \fIsingle_monocle\fR
1193 Set the desktop layout to
1195 if there\(cqs only one tiled window in the tree\&.
1198 \fIpointer_motion_interval\fR
1200 The minimum interval, in milliseconds, between two motion notify events\&.
1203 \fIpointer_modifier\fR
1205 Keyboard modifier used for moving or resizing windows\&. Accept the following values:
1216 \fIpointer_action1\fR, \fIpointer_action2\fR, \fIpointer_action3\fR
1218 Action performed when pressing
1219 \fIpointer_modifier\fR
1221 \fIbutton<n>\fR\&. Accept the following values:
1224 \fBresize_corner\fR,
1229 \fIclick_to_focus\fR
1231 Button used for focusing a window (or a monitor)\&. The possible values are:
1236 \fBnone\fR\&. Defaults to
1240 \fIswallow_first_click\fR
1242 Don\(cqt replay the click that makes a window focused if
1243 \fIclick_to_focus\fR
1248 \fIfocus_follows_pointer\fR
1250 Focus the window under the pointer\&.
1253 \fIpointer_follows_focus\fR
1255 When focusing a window, put the pointer at its center\&.
1258 \fIpointer_follows_monitor\fR
1260 When focusing a monitor, put the pointer at its center\&.
1263 \fImapping_events_count\fR
1266 \fBmapping_events_count\fR
1267 mapping notify events\&. A negative value implies that every event needs to be handled\&.
1270 \fIignore_ewmh_focus\fR
1272 Ignore EWMH focus requests coming from applications\&.
1275 \fIignore_ewmh_fullscreen\fR
1277 Block the fullscreen state transitions that originate from an EWMH request\&. The possible values are:
1279 \fBall\fR, or a comma separated list of the following values:
1284 \fIcenter_pseudo_tiled\fR
1286 Center pseudo tiled windows into their tiling rectangles\&. Defaults to
1290 \fIhonor_size_hints\fR
1292 Apply ICCCM window size hints\&.
1295 \fIremove_disabled_monitors\fR
1297 Consider disabled monitors as disconnected\&.
1300 \fIremove_unplugged_monitors\fR
1302 Remove unplugged monitors\&.
1305 \fImerge_overlapping_monitors\fR
1307 Merge overlapping monitors (the bigger remains)\&.
1309 .SS "Monitor and Desktop Settings"
1311 \fItop_padding\fR, \fIright_padding\fR, \fIbottom_padding\fR, \fIleft_padding\fR
1313 Padding space added at the sides of the monitor or desktop\&.
1315 .SS "Desktop Settings"
1319 Size of the gap that separates windows\&.
1325 Window border width\&.
1327 .SH "POINTER BINDINGS"
1329 \fIclick_to_focus\fR
1331 Focus the window (or the monitor) under the pointer if the value isn\(cqt
1335 \fIpointer_modifier\fR + \fIbutton1\fR
1337 Move the window under the pointer\&.
1340 \fIpointer_modifier\fR + \fIbutton2\fR
1342 Resize the window under the pointer by dragging the nearest side\&.
1345 \fIpointer_modifier\fR + \fIbutton3\fR
1347 Resize the window under the pointer by dragging the nearest corner\&.
1350 The behavior of \fIpointer_modifier\fR + \fIbutton<n>\fR can be modified through the \fIpointer_action<n>\fR setting\&.
1355 See the next section for the description of the format\&.
1358 \fImonitor_add <monitor_id> <monitor_name> <monitor_geometry>\fR
1360 A monitor is added\&.
1363 \fImonitor_rename <monitor_id> <old_name> <new_name>\fR
1365 A monitor is renamed\&.
1368 \fImonitor_remove <monitor_id>\fR
1370 A monitor is removed\&.
1373 \fImonitor_swap <src_monitor_id> <dst_monitor_id>\fR
1375 A monitor is swapped\&.
1378 \fImonitor_focus <monitor_id>\fR
1380 A monitor is focused\&.
1383 \fImonitor_geometry <monitor_id> <monitor_geometry>\fR
1385 The geometry of a monitor changed\&.
1388 \fIdesktop_add <monitor_id> <desktop_id> <desktop_name>\fR
1390 A desktop is added\&.
1393 \fIdesktop_rename <monitor_id> <desktop_id> <old_name> <new_name>\fR
1395 A desktop is renamed\&.
1398 \fIdesktop_remove <monitor_id> <desktop_id>\fR
1400 A desktop is removed\&.
1403 \fIdesktop_swap <src_monitor_id> <src_desktop_id> <dst_monitor_id> <dst_desktop_id>\fR
1405 A desktop is swapped\&.
1408 \fIdesktop_transfer <src_monitor_id> <src_desktop_id> <dst_monitor_id>\fR
1410 A desktop is transferred\&.
1413 \fIdesktop_focus <monitor_id> <desktop_id>\fR
1415 A desktop is focused\&.
1418 \fIdesktop_activate <monitor_id> <desktop_id>\fR
1420 A desktop is activated\&.
1423 \fIdesktop_layout <monitor_id> <desktop_id> tiled|monocle\fR
1425 The layout of a desktop changed\&.
1428 \fInode_add <monitor_id> <desktop_id> <ip_id> <node_id>\fR
1433 \fInode_remove <monitor_id> <desktop_id> <node_id>\fR
1435 A node is removed\&.
1438 \fInode_swap <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1440 A node is swapped\&.
1443 \fInode_transfer <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1445 A node is transferred\&.
1448 \fInode_focus <monitor_id> <desktop_id> <node_id>\fR
1450 A node is focused\&.
1453 \fInode_activate <monitor_id> <desktop_id> <node_id>\fR
1455 A node is activated\&.
1458 \fInode_presel <monitor_id> <desktop_id> <node_id> (dir DIR|ratio RATIO|cancel)\fR
1460 A node is preselected\&.
1463 \fInode_stack <node_id_1> below|above <node_id_2>\fR
1465 A node is stacked below or above another node\&.
1468 \fInode_geometry <monitor_id> <desktop_id> <node_id> <node_geometry>\fR
1470 The geometry of a window changed\&.
1473 \fInode_state <monitor_id> <desktop_id> <node_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
1475 The state of a window changed\&.
1478 \fInode_flag <monitor_id> <desktop_id> <node_id> hidden|sticky|private|locked|marked|urgent on|off\fR
1480 One of the flags of a node changed\&.
1483 \fInode_layer <monitor_id> <desktop_id> <node_id> below|normal|above\fR
1485 The layer of a window changed\&.
1488 \fIpointer_action <monitor_id> <desktop_id> <node_id> move|resize_corner|resize_side begin|end\fR
1490 A pointer action occured\&.
1493 Please note that \fBbspwm\fR initializes monitors before it reads messages on its socket, therefore the initial monitor events can\(cqt be received\&.
1496 Each report event message is composed of items separated by colons\&.
1498 Each item has the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
1500 \fIM<monitor_name>\fR
1505 \fIm<monitor_name>\fR
1507 Unfocused monitor\&.
1510 \fIO<desktop_name>\fR
1512 Occupied focused desktop\&.
1515 \fIo<desktop_name>\fR
1517 Occupied unfocused desktop\&.
1520 \fIF<desktop_name>\fR
1522 Free focused desktop\&.
1525 \fIf<desktop_name>\fR
1527 Free unfocused desktop\&.
1530 \fIU<desktop_name>\fR
1532 Urgent focused desktop\&.
1535 \fIu<desktop_name>\fR
1537 Urgent unfocused desktop\&.
1542 Layout of the focused desktop of a monitor\&.
1547 State of the focused node of a focused desktop\&.
1552 Active flags of the focused node of a focused desktop\&.
1554 .SH "ENVIRONMENT VARIABLES"
1558 The path of the socket used for the communication between
1561 \fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
1562 \fI/tmp/bspwm<host_name>_<display_number>_<screen_number>\-socket\fR\&.
1568 \h'-04'\(bu\h'+03'\c
1574 Steven Allen <steven at stebalien\&.com>
1579 \h'-04'\(bu\h'+03'\c
1585 Thomas Adam <thomas at xteddy\&.org>
1590 \h'-04'\(bu\h'+03'\c
1596 Ivan Kanakarakis <ivan\&.kanak at gmail\&.com>
1600 Bastien Dejean <nihilhill at gmail\&.com>