3 .\" Author: [see the "Author" section]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
6 .\" Manual: Bspwm Manual
7 .\" Source: Bspwm 0.9.10-34-g3403bb2
10 .TH "BSPWM" "1" "02/15/2022" "Bspwm 0\&.9\&.10\-34\-g3403bb2" "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|first_ancestor|last|newest|
104 older|newer|focused|pointed|biggest|smallest|
105 <node_id>)[\&.[!]focused][\&.[!]active][\&.[!]automatic][\&.[!]local]
106 [\&.[!]leaf][\&.[!]window][\&.[!]STATE][\&.[!]FLAG][\&.[!]LAYER][\&.[!]SPLIT_TYPE]
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 SPLIT_TYPE := horizontal|vertical
117 PATH := @[DESKTOP_SEL:][[/]JUMP](/JUMP)*
119 JUMP := first|1|second|2|brother|parent|DIR
126 .nr an-no-space-flag 1
135 Selects the window in the given (spacial) direction relative to the reference node\&.
140 Selects the node in the given (cyclic) direction relative to the reference node within a depth\-first in\-order traversal of the tree\&.
145 Selects the node at the given path\&.
150 Selects the first node that matches the given selectors\&.
155 Selects the first ancestor of the reference node that matches the given selectors\&.
160 Selects the previously focused node relative to the reference node\&.
165 Selects the newest node in the history of the focused node\&.
170 Selects the node older than the reference node in the history\&.
175 Selects the node newer than the reference node in the history\&.
180 Selects the currently focused node\&.
185 Selects the leaf under the pointer\&.
190 Selects the biggest leaf\&.
195 Selects the smallest leaf\&.
200 Selects the node with the given ID\&.
205 .nr an-no-space-flag 1
212 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)\&.
216 Jumps to the first child\&.
221 Jumps to the second child\&.
226 Jumps to the brother node\&.
231 Jumps to the parent node\&.
236 Jumps to the node holding the edge in the given direction\&.
241 .nr an-no-space-flag 1
250 Only consider the focused node\&.
255 Only consider nodes that are the focused node of their desktop\&.
260 Only consider nodes in automatic insertion mode\&. See also
261 \fB\-\-presel\-dir\fR
271 Only consider nodes in the reference desktop\&.
276 Only consider leaf nodes\&.
281 Only consider nodes that hold a window\&.
284 [!](tiled|pseudo_tiled|floating|fullscreen)
286 Only consider windows in the given state\&.
291 Only consider windows that have the same class as the reference window\&.
296 Only consider nodes that are descendants of the reference node\&.
301 Only consider nodes that are ancestors of the reference node\&.
304 [!](hidden|sticky|private|locked|marked|urgent)
306 Only consider windows that have the given flag set\&.
309 [!](below|normal|above)
311 Only consider windows in the given layer\&.
314 [!](horizontal|vertical)
316 Only consider nodes with the given split type\&.
327 DESKTOP_SEL := [DESKTOP_SEL#](CYCLE_DIR|any|last|newest|older|newer|
328 [MONITOR_SEL:](focused|^<n>)|
329 <desktop_id>|<desktop_name>)[\&.[!]focused][\&.[!]active]
330 [\&.[!]occupied][\&.[!]urgent][\&.[!]local]
331 [\&.[!]LAYOUT][\&.[!]user_LAYOUT]
333 LAYOUT := tiled|monocle
340 .nr an-no-space-flag 1
349 Selects the desktop in the given direction relative to the reference desktop\&.
354 Selects the first desktop that matches the given selectors\&.
359 Selects the previously focused desktop relative to the reference desktop\&.
364 Selects the newest desktop in the history of the focused desktops\&.
369 Selects the desktop older than the reference desktop in the history\&.
374 Selects the desktop newer than the reference desktop in the history\&.
379 Selects the currently focused desktop\&.
384 Selects the nth desktop\&. If
386 is given, selects the nth desktop on the selected monitor\&.
391 Selects the desktop with the given ID\&.
396 Selects the desktop with the given name\&.
401 .nr an-no-space-flag 1
410 Only consider the focused desktop\&.
415 Only consider desktops that are the focused desktop of their monitor\&.
420 Only consider occupied desktops\&.
425 Only consider urgent desktops\&.
430 Only consider desktops inside the reference monitor\&.
435 Only consider desktops with the given layout\&.
438 [!](user_tiled|user_monocle)
440 Only consider desktops which have the given layout as userLayout\&.
451 MONITOR_SEL := [MONITOR_SEL#](DIR|CYCLE_DIR|any|last|newest|older|newer|
452 focused|pointed|primary|^<n>|
453 <monitor_id>|<monitor_name>)[\&.[!]focused][\&.[!]occupied]
460 .nr an-no-space-flag 1
469 Selects the monitor in the given (spacial) direction relative to the reference monitor\&.
474 Selects the monitor in the given (cyclic) direction relative to the reference monitor\&.
479 Selects the first monitor that matches the given selectors\&.
484 Selects the previously focused monitor relative to the reference monitor\&.
489 Selects the newest monitor in the history of the focused monitors\&.
494 Selects the monitor older than the reference monitor in the history\&.
499 Selects the monitor newer than the reference monitor in the history\&.
504 Selects the currently focused monitor\&.
509 Selects the monitor under the pointer\&.
514 Selects the primary monitor\&.
519 Selects the nth monitor\&.
524 Selects the monitor with the given ID\&.
529 Selects the monitor with the given name\&.
534 .nr an-no-space-flag 1
543 Only consider the focused monitor\&.
548 Only consider monitors where the focused desktop is occupied\&.
555 Its size and position are determined by the window tree\&.
560 A tiled window that automatically shrinks but doesn\(cqt stretch beyond its floating size\&.
565 Can be moved/resized freely\&. Although it doesn\(cqt use any tiling space, it is still part of the window tree\&.
570 Fills its monitor rectangle and has no borders\&.
576 Is hidden and doesn\(cqt occupy any tiling space\&.
581 Stays in the focused desktop of its monitor\&.
586 Tries to keep the same tiling position/size\&.
598 Is marked (useful for deferred actions)\&. A marked node becomes unmarked after being sent on a preselected node\&.
603 Has its urgency hint set\&. This flag is set externally\&.
605 .SH "STACKING LAYERS"
607 There\(cqs three stacking layers: BELOW, NORMAL and ABOVE\&.
609 In each layer, the window are orderered as follow: tiled & pseudo\-tiled < floating < fullscreen\&.
612 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\&.
617 .nr an-no-space-flag 1
624 node [\fINODE_SEL\fR] \fICOMMANDS\fR
626 If \fINODE_SEL\fR is omitted, \fBfocused\fR is assumed\&.
630 .nr an-no-space-flag 1
637 \fB\-f\fR, \fB\-\-focus\fR [\fINODE_SEL\fR]
639 Focus the selected or given node\&.
642 \fB\-a\fR, \fB\-\-activate\fR [\fINODE_SEL\fR]
644 Activate the selected or given node\&.
647 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR [\fB\-\-follow\fR]
649 Send the selected node to the given desktop\&. If
651 is passed, the focused node will stay focused\&.
654 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR [\fB\-\-follow\fR]
656 Send the selected node to the given monitor\&. If
658 is passed, the focused node will stay focused\&.
661 \fB\-n\fR, \fB\-\-to\-node\fR \fINODE_SEL\fR [\fB\-\-follow\fR]
663 Send the selected node on the given node\&. If
665 is passed, the focused node will stay focused\&.
668 \fB\-s\fR, \fB\-\-swap\fR \fINODE_SEL\fR [\fB\-\-follow\fR]
670 Swap the selected node with the given node\&. If
672 is passed, the focused node will stay focused\&.
675 \fB\-p\fR, \fB\-\-presel\-dir\fR [~]\fIDIR\fR|cancel
677 Preselect the splitting area of the selected node (or cancel the preselection)\&. If
681 and the current preselection direction matches
682 \fIDIR\fR, then the argument is interpreted as
683 \fBcancel\fR\&. A node with a preselected area is said to be in "manual insertion mode"\&.
686 \fB\-o\fR, \fB\-\-presel\-ratio\fR \fIRATIO\fR
688 Set the splitting ratio of the preselection area\&.
691 \fB\-v\fR, \fB\-\-move\fR \fIdx\fR \fIdy\fR
693 Move the selected window by
695 pixels horizontally and
700 \fB\-z\fR, \fB\-\-resize\fR top|left|bottom|right|top_left|top_right|bottom_right|bottom_left \fIdx\fR \fIdy\fR
702 Resize the selected window by moving the given handle by
704 pixels horizontally and
709 \fB\-y\fR, \fB\-\-type\fR \fICYCLE_DIR\fR|horizontal|vertical
711 Set or cycle the splitting type of the selected node\&.
714 \fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR|(+|\-)(\fIPIXELS\fR|\fIFRACTION\fR)
716 Set the splitting ratio of the selected node (0 <
721 \fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
723 Rotate the tree rooted at the selected node\&.
726 \fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
728 Flip the tree rooted at selected node\&.
731 \fB\-E\fR, \fB\-\-equalize\fR
733 Reset the split ratios of the tree rooted at the selected node to their default value\&.
736 \fB\-B\fR, \fB\-\-balance\fR
738 Adjust the split ratios of the tree rooted at the selected node so that all windows occupy the same area\&.
741 \fB\-C\fR, \fB\-\-circulate\fR forward|backward
743 Circulate the windows of the tree rooted at the selected node\&.
746 \fB\-t\fR, \fB\-\-state\fR ~|[~]\fISTATE\fR
748 Set the state of the selected window\&. If
750 is present and the current state matches
751 \fISTATE\fR, then the argument is interpreted as its last state\&. If the argument is just
755 omitted, then the state of the selected window is set to its last state\&.
758 \fB\-g\fR, \fB\-\-flag\fR hidden|sticky|private|locked|marked[=on|off]
760 Set or toggle the given flag for the selected node\&.
763 \fB\-l\fR, \fB\-\-layer\fR below|normal|above
765 Set the stacking layer of the selected window\&.
768 \fB\-i\fR, \fB\-\-insert\-receptacle\fR
770 Insert a receptacle node at the selected node\&.
773 \fB\-c\fR, \fB\-\-close\fR
775 Close the windows rooted at the selected node\&.
778 \fB\-k\fR, \fB\-\-kill\fR
780 Kill the windows rooted at the selected node\&.
786 .nr an-no-space-flag 1
793 desktop [\fIDESKTOP_SEL\fR] \fICOMMANDS\fR
795 If \fIDESKTOP_SEL\fR is omitted, \fBfocused\fR is assumed\&.
799 .nr an-no-space-flag 1
806 \fB\-f\fR, \fB\-\-focus\fR [\fIDESKTOP_SEL\fR]
808 Focus the selected or given desktop\&.
811 \fB\-a\fR, \fB\-\-activate\fR [\fIDESKTOP_SEL\fR]
813 Activate the selected or given desktop\&.
816 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR [\fB\-\-follow\fR]
818 Send the selected desktop to the given monitor\&. If
820 is passed, the focused desktop will stay focused\&.
823 \fB\-s\fR, \fB\-\-swap\fR \fIDESKTOP_SEL\fR [\fB\-\-follow\fR]
825 Swap the selected desktop with the given desktop\&. If
827 is passed, the focused desktop will stay focused\&.
830 \fB\-l\fR, \fB\-\-layout\fR \fICYCLE_DIR\fR|monocle|tiled
832 Set or cycle the layout of the selected desktop\&.
835 \fB\-n\fR, \fB\-\-rename\fR <new_name>
837 Rename the selected desktop\&.
840 \fB\-b\fR, \fB\-\-bubble\fR \fICYCLE_DIR\fR
842 Bubble the selected desktop in the given direction\&.
845 \fB\-r\fR, \fB\-\-remove\fR
847 Remove the selected desktop\&.
853 .nr an-no-space-flag 1
860 monitor [\fIMONITOR_SEL\fR] \fICOMMANDS\fR
862 If \fIMONITOR_SEL\fR is omitted, \fBfocused\fR is assumed\&.
866 .nr an-no-space-flag 1
873 \fB\-f\fR, \fB\-\-focus\fR [\fIMONITOR_SEL\fR]
875 Focus the selected or given monitor\&.
878 \fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
880 Swap the selected monitor with the given monitor\&.
883 \fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
885 Create desktops with the given names in the selected monitor\&.
888 \fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
890 Reorder the desktops of the selected monitor to match the given order\&.
893 \fB\-d\fR, \fB\-\-reset\-desktops\fR <name>\&...
895 Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&.
898 \fB\-g\fR, \fB\-\-rectangle\fR WxH+X+Y
900 Set the rectangle of the selected monitor\&.
903 \fB\-n\fR, \fB\-\-rename\fR <new_name>
905 Rename the selected monitor\&.
908 \fB\-r\fR, \fB\-\-remove\fR
910 Remove the selected monitor\&.
916 .nr an-no-space-flag 1
923 query \fICOMMANDS\fR [\fIOPTIONS\fR]
927 .nr an-no-space-flag 1
934 The optional selectors are references\&.
936 \fB\-N\fR, \fB\-\-nodes\fR [\fINODE_SEL\fR]
938 List the IDs of the matching nodes\&.
941 \fB\-D\fR, \fB\-\-desktops\fR [\fIDESKTOP_SEL\fR]
943 List the IDs (or names) of the matching desktops\&.
946 \fB\-M\fR, \fB\-\-monitors\fR [\fIMONITOR_SEL\fR]
948 List the IDs (or names) of the matching monitors\&.
951 \fB\-T\fR, \fB\-\-tree\fR
953 Print a JSON representation of the matching item\&.
958 .nr an-no-space-flag 1
965 \fB\-m\fR,\fB\-\-monitor\fR [\fIMONITOR_SEL\fR|\fIMONITOR_MODIFIERS\fR], \fB\-d\fR,\fB\-\-desktop\fR [\fIDESKTOP_SEL\fR|\fIDESKTOP_MODIFIERS\fR], \fB\-n\fR, \fB\-\-node\fR [\fINODE_SEL\fR|\fINODE_MODIFIERS\fR]
967 Constrain matches to the selected monitors, desktops or nodes\&.
972 Print names instead of IDs\&. Can only be used with
981 .nr an-no-space-flag 1
992 .nr an-no-space-flag 1
999 \fB\-d\fR, \fB\-\-dump\-state\fR
1001 Dump the current world state on standard output\&.
1004 \fB\-l\fR, \fB\-\-load\-state\fR <file_path>
1006 Load a world state from the given file\&. The path must be absolute\&.
1009 \fB\-a\fR, \fB\-\-add\-monitor\fR <name> WxH+X+Y
1011 Add a monitor for the given name and rectangle\&.
1014 \fB\-O\fR, \fB\-\-reorder\-monitors\fR <name>\&...
1016 Reorder the list of monitors to match the given order\&.
1019 \fB\-o\fR, \fB\-\-adopt\-orphans\fR
1021 Manage all the unmanaged windows remaining from a previous session\&.
1024 \fB\-h\fR, \fB\-\-record\-history\fR on|off
1026 Enable or disable the recording of node focus history\&.
1029 \fB\-g\fR, \fB\-\-get\-status\fR
1031 Print the current status information\&.
1034 \fB\-r\fR, \fB\-\-restart\fR
1036 Restart the window manager
1042 .nr an-no-space-flag 1
1046 \fBGeneral Syntax\fR
1053 .nr an-no-space-flag 1
1060 \fB\-a\fR, \fB\-\-add\fR (<class_name>|*)[:(<instance_name>|*)[:(<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]
1062 Create a new rule\&.
1065 \fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|(<class_name>|*)[:(<instance_name>|*)[:(<name>|*)]]\&...
1067 Remove the given rules\&.
1070 \fB\-l\fR, \fB\-\-list\fR
1078 .nr an-no-space-flag 1
1082 \fBGeneral Syntax\fR
1085 config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-n \fINODE_SEL\fR] <setting> [<value>]
1087 Get or set the value of <setting>\&.
1093 .nr an-no-space-flag 1
1097 \fBGeneral Syntax\fR
1100 subscribe [\fIOPTIONS\fR] (all|report|monitor|desktop|node|\&...)*
1102 Continuously print events\&. See the
1104 section for the description of each event\&.
1109 .nr an-no-space-flag 1
1116 \fB\-f\fR, \fB\-\-fifo\fR
1118 Print a path to a FIFO from which events can be read and return\&.
1121 \fB\-c\fR, \fB\-\-count\fR \fICOUNT\fR
1123 Stop the corresponding
1125 process after having received
1133 .nr an-no-space-flag 1
1137 \fBGeneral Syntax\fR
1142 Quit with an optional exit status\&.
1147 If the server can\(cqt handle a message, \fBbspc\fR will return with a non\-zero exit code\&.
1150 Colors are in the form \fI#RRGGBB\fR, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
1152 All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
1153 .SS "Global Settings"
1155 \fInormal_border_color\fR
1157 Color of the border of an unfocused window\&.
1160 \fIactive_border_color\fR
1162 Color of the border of a focused window of an unfocused monitor\&.
1165 \fIfocused_border_color\fR
1167 Color of the border of a focused window of a focused monitor\&.
1170 \fIpresel_feedback_color\fR
1173 \fBnode \-\-presel\-{dir,ratio}\fR
1174 message feedback area\&.
1179 Default split ratio\&.
1184 Prefix prepended to each of the status lines\&.
1187 \fIexternal_rules_command\fR
1189 Absolute path to the 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:
1190 \fBkey1=value1 key2=value2 \&...\fR
1191 (the valid key/value pairs are given in the description of the
1196 \fIautomatic_scheme\fR
1198 The insertion scheme used when the insertion point is in automatic mode\&. Accept the following values:
1204 \fIinitial_polarity\fR
1206 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:
1208 \fBsecond_child\fR\&.
1211 \fIdirectional_focus_tightness\fR
1213 The tightness of the algorithm used to decide whether a window is on the
1215 side of another window\&. Accept the following values:
1220 \fIremoval_adjustment\fR
1222 Adjust the brother when unlinking a node from the tree in accordance with the automatic insertion scheme\&.
1225 \fIpresel_feedback\fR
1227 Draw the preselection feedback area\&. Defaults to
1231 \fIborderless_monocle\fR
1233 Remove borders of tiled windows for the
1238 \fIgapless_monocle\fR
1240 Remove gaps of tiled windows for the
1245 \fItop_monocle_padding\fR, \fIright_monocle_padding\fR, \fIbottom_monocle_padding\fR, \fIleft_monocle_padding\fR
1247 Padding space added at the sides of the screen for the
1252 \fIsingle_monocle\fR
1254 Set the desktop layout to
1256 if there\(cqs only one tiled window in the tree\&.
1259 \fIborderless_singleton\fR
1261 Remove borders of the only window on the only monitor regardless its layout\&.
1264 \fIpointer_motion_interval\fR
1266 The minimum interval, in milliseconds, between two motion notify events\&.
1269 \fIpointer_modifier\fR
1271 Keyboard modifier used for moving or resizing windows\&. Accept the following values:
1282 \fIpointer_action1\fR, \fIpointer_action2\fR, \fIpointer_action3\fR
1284 Action performed when pressing
1285 \fIpointer_modifier\fR
1287 \fIbutton<n>\fR\&. Accept the following values:
1290 \fBresize_corner\fR,
1295 \fIclick_to_focus\fR
1297 Button used for focusing a window (or a monitor)\&. The possible values are:
1302 \fBnone\fR\&. Defaults to
1306 \fIswallow_first_click\fR
1308 Don\(cqt replay the click that makes a window focused if
1309 \fIclick_to_focus\fR
1314 \fIfocus_follows_pointer\fR
1316 Focus the window under the pointer\&.
1319 \fIpointer_follows_focus\fR
1321 When focusing a window, put the pointer at its center\&.
1324 \fIpointer_follows_monitor\fR
1326 When focusing a monitor, put the pointer at its center\&.
1329 \fImapping_events_count\fR
1332 \fBmapping_events_count\fR
1333 mapping notify events\&. A negative value implies that every event needs to be handled\&.
1336 \fIignore_ewmh_focus\fR
1338 Ignore EWMH focus requests coming from applications\&.
1341 \fIignore_ewmh_fullscreen\fR
1343 Block the fullscreen state transitions that originate from an EWMH request\&. The possible values are:
1345 \fBall\fR, or a comma separated list of the following values:
1350 \fIignore_ewmh_struts\fR
1352 Ignore strut hinting from clients requesting to reserve space (i\&.e\&. task bars)\&.
1355 \fIcenter_pseudo_tiled\fR
1357 Center pseudo tiled windows into their tiling rectangles\&. Defaults to
1361 \fIhonor_size_hints\fR
1363 Apply ICCCM window size hints\&.
1366 \fIremove_disabled_monitors\fR
1368 Consider disabled monitors as disconnected\&.
1371 \fIremove_unplugged_monitors\fR
1373 Remove unplugged monitors\&.
1376 \fImerge_overlapping_monitors\fR
1378 Merge overlapping monitors (the bigger remains)\&.
1380 .SS "Monitor and Desktop Settings"
1382 \fItop_padding\fR, \fIright_padding\fR, \fIbottom_padding\fR, \fIleft_padding\fR
1384 Padding space added at the sides of the monitor or desktop\&.
1386 .SS "Desktop Settings"
1390 Size of the gap that separates windows\&.
1396 Window border width\&.
1398 .SH "POINTER BINDINGS"
1400 \fIclick_to_focus\fR
1402 Focus the window (or the monitor) under the pointer if the value isn\(cqt
1406 \fIpointer_modifier\fR + \fIbutton1\fR
1408 Move the window under the pointer\&.
1411 \fIpointer_modifier\fR + \fIbutton2\fR
1413 Resize the window under the pointer by dragging the nearest side\&.
1416 \fIpointer_modifier\fR + \fIbutton3\fR
1418 Resize the window under the pointer by dragging the nearest corner\&.
1421 The behavior of \fIpointer_modifier\fR + \fIbutton<n>\fR can be modified through the \fIpointer_action<n>\fR setting\&.
1426 See the next section for the description of the format\&.
1429 \fImonitor_add <monitor_id> <monitor_name> <monitor_geometry>\fR
1431 A monitor is added\&.
1434 \fImonitor_rename <monitor_id> <old_name> <new_name>\fR
1436 A monitor is renamed\&.
1439 \fImonitor_remove <monitor_id>\fR
1441 A monitor is removed\&.
1444 \fImonitor_swap <src_monitor_id> <dst_monitor_id>\fR
1446 A monitor is swapped\&.
1449 \fImonitor_focus <monitor_id>\fR
1451 A monitor is focused\&.
1454 \fImonitor_geometry <monitor_id> <monitor_geometry>\fR
1456 The geometry of a monitor changed\&.
1459 \fIdesktop_add <monitor_id> <desktop_id> <desktop_name>\fR
1461 A desktop is added\&.
1464 \fIdesktop_rename <monitor_id> <desktop_id> <old_name> <new_name>\fR
1466 A desktop is renamed\&.
1469 \fIdesktop_remove <monitor_id> <desktop_id>\fR
1471 A desktop is removed\&.
1474 \fIdesktop_swap <src_monitor_id> <src_desktop_id> <dst_monitor_id> <dst_desktop_id>\fR
1476 A desktop is swapped\&.
1479 \fIdesktop_transfer <src_monitor_id> <src_desktop_id> <dst_monitor_id>\fR
1481 A desktop is transferred\&.
1484 \fIdesktop_focus <monitor_id> <desktop_id>\fR
1486 A desktop is focused\&.
1489 \fIdesktop_activate <monitor_id> <desktop_id>\fR
1491 A desktop is activated\&.
1494 \fIdesktop_layout <monitor_id> <desktop_id> tiled|monocle\fR
1496 The layout of a desktop changed\&.
1499 \fInode_add <monitor_id> <desktop_id> <ip_id> <node_id>\fR
1504 \fInode_remove <monitor_id> <desktop_id> <node_id>\fR
1506 A node is removed\&.
1509 \fInode_swap <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1511 A node is swapped\&.
1514 \fInode_transfer <src_monitor_id> <src_desktop_id> <src_node_id> <dst_monitor_id> <dst_desktop_id> <dst_node_id>\fR
1516 A node is transferred\&.
1519 \fInode_focus <monitor_id> <desktop_id> <node_id>\fR
1521 A node is focused\&.
1524 \fInode_activate <monitor_id> <desktop_id> <node_id>\fR
1526 A node is activated\&.
1529 \fInode_presel <monitor_id> <desktop_id> <node_id> (dir DIR|ratio RATIO|cancel)\fR
1531 A node is preselected\&.
1534 \fInode_stack <node_id_1> below|above <node_id_2>\fR
1536 A node is stacked below or above another node\&.
1539 \fInode_geometry <monitor_id> <desktop_id> <node_id> <node_geometry>\fR
1541 The geometry of a window changed\&.
1544 \fInode_state <monitor_id> <desktop_id> <node_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
1546 The state of a window changed\&.
1549 \fInode_flag <monitor_id> <desktop_id> <node_id> hidden|sticky|private|locked|marked|urgent on|off\fR
1551 One of the flags of a node changed\&.
1554 \fInode_layer <monitor_id> <desktop_id> <node_id> below|normal|above\fR
1556 The layer of a window changed\&.
1559 \fIpointer_action <monitor_id> <desktop_id> <node_id> move|resize_corner|resize_side begin|end\fR
1561 A pointer action occurred\&.
1564 Please note that \fBbspwm\fR initializes monitors before it reads messages on its socket, therefore the initial monitor events can\(cqt be received\&.
1567 Each report event message is composed of items separated by colons\&.
1569 Each item has the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
1571 \fIM<monitor_name>\fR
1576 \fIm<monitor_name>\fR
1578 Unfocused monitor\&.
1581 \fIO<desktop_name>\fR
1583 Occupied focused desktop\&.
1586 \fIo<desktop_name>\fR
1588 Occupied unfocused desktop\&.
1591 \fIF<desktop_name>\fR
1593 Free focused desktop\&.
1596 \fIf<desktop_name>\fR
1598 Free unfocused desktop\&.
1601 \fIU<desktop_name>\fR
1603 Urgent focused desktop\&.
1606 \fIu<desktop_name>\fR
1608 Urgent unfocused desktop\&.
1613 Layout of the focused desktop of a monitor\&.
1618 State of the focused node of a focused desktop\&.
1623 Active flags of the focused node of a focused desktop\&.
1625 .SH "ENVIRONMENT VARIABLES"
1629 The path of the socket used for the communication between
1632 \fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
1633 \fI/tmp/bspwm<host_name>_<display_number>_<screen_number>\-socket\fR\&.
1639 \h'-04'\(bu\h'+03'\c
1645 Steven Allen <steven at stebalien\&.com>
1650 \h'-04'\(bu\h'+03'\c
1656 Thomas Adam <thomas at xteddy\&.org>
1661 \h'-04'\(bu\h'+03'\c
1667 Ivan Kanakarakis <ivan\&.kanak at gmail\&.com>
1671 Bastien Dejean <nihilhill at gmail\&.com>