3 .\" Author: [see the "Author" section]
4 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
6 .\" Manual: Bspwm Manual
10 .TH "BSPWM" "1" "11/09/2015" "Bspwm 0\&.9" "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 \fICOMMAND\fR [\fIARGUMENTS\fR]
39 \fBbspwm\fR is a tiling window manager that represents windows as the leaves of a full binary tree\&.
41 It is controlled and configured via \fBbspc\fR\&.
46 Print the synopsis and exit\&.
51 Print the version and exit\&.
54 \fB\-c\fR \fICONFIG_PATH\fR
56 Use the given configuration file\&.
60 \fBbspwm\fR has only two sources of informations: the X events it receives and the messages it reads on a dedicated socket\&.
62 The default configuration file is \fI$XDG_CONFIG_HOME/bspwm/bspwmrc\fR\&.
64 Keyboard and pointer bindings are defined with sxhkd\&.
66 Example configuration files can be found in the \fBexamples\fR directory\&.
69 New windows are inserted in the tree as close as possible to the focused window\&.
71 There are only two splitting modes: \fIautomatic\fR and \fImanual\fR\&.
73 The default mode is \fIautomatic\fR\&. The \fImanual\fR mode is entered by sending a \fBpreselection\fR message\&.
75 Example: insertion of a new node (number 4) into the given tree in \fIautomatic\fR mode:
88 +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
92 | 3 |\-\-\-\-\-\-\-\-\-\-\-\-| \-\-> | 4 |\-\-\-\-\-\-\-\-\-\-\-\-|
96 +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
102 Same action, but the mode is \fImanual\fR, and a \fBwindow \-\-presel up\fR message was sent beforehand:
114 +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
118 | 3 |\-\-\-\-\-\-\-\-\-\-\-\-| \-\-> |\-\-\-\-\-\-\-\-\-\-\-\-|\-\-\-\-\-\-\-\-\-\-\-\-|
122 +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
129 Each monitor contains at least one desktop\&.
131 Each desktop contains at most one tree\&.
132 .SH "COMMON DEFINITIONS"
138 DIR := left | right | up | down
139 CYCLE_DIR := next | prev
146 Selectors are used to select a target window, desktop, or monitor\&. A selector can either describe the target relatively or name it globally\&.
148 Descriptive (relative) selectors consist of a primary selector and any number of non\-conflicting modifiers as follows:
154 PRIMARY_SELECTOR[\&.MODIFIER]*
160 For obvious reasons, neither desktop nor monitor names may be valid descriptive selectors\&.
169 WINDOW_SEL := <window_id>
170 | (DIR|CYCLE_DIR|biggest|last|focused|older|newer)[\&.manual|\&.automatic][\&.tiled|nontiled][\&.pseudotiled|\&.nonpseudotiled][\&.floating|\&.nonfloating][\&.fullscreen|\&.nonfullscreen][\&.below|\&.normal|\&.above][\&.local|\&.foreign][\&.like|\&.unlike][\&.focused|\&.unfocused][\&.urgent|\&.nonurgent][\&.sticky|\&.nonsticky][\&.public|\&.private][\&.locked|\&.unlocked]
177 .nr an-no-space-flag 1
181 \fBPrimary Selectors\fR
186 Selects the window in the given (spacial) direction relative to the active window\&.
191 Selects the window in the given (cyclic) direction\&.
196 Selects the biggest window on the current desktop\&.
201 Selects the previously focused window\&.
206 Selects the currently focused window\&.
211 Selects the window older than the focused window in the history\&.
216 Selects the window newer than the focused window in the history\&.
221 .nr an-no-space-flag 1
230 Only consider tiled windows\&.
235 Only consider tiled windows\&.
240 Only consider pseudo\-tiled windows\&.
245 Only consider non pseudo\-tiled windows\&.
250 Only consider floating windows\&.
255 Only consider non floating windows\&.
260 Only consider fullscreen windows\&.
265 Only consider non fullscreen windows\&.
270 Only consider windows in manual splitting mode\&.
275 Only consider windows in automatic splitting mode\&.
280 Only consider focused windows\&.
285 Only consider unfocused windows\&.
290 Only consider windows of the BELOW layer\&.
295 Only consider windows of the NORMAL layer\&.
300 Only consider windows of the ABOVE layer\&.
305 Only consider windows that have the same class as the current window\&.
310 Only consider windows that have a different class than the current window\&.
315 Only consider windows of the current desktop\&.
320 Only consider windows outside of the current desktop\&.
325 Only consider private windows\&.
330 Only consider non private windows\&.
335 Only consider urgent windows\&.
340 Only consider non urgent windows\&.
345 Only consider sticky windows\&.
350 Only consider non sticky windows\&.
355 Only consider locked windows\&.
360 Only consider non locked windows\&.
371 DESKTOP_SEL := <desktop_name>
373 | (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[\&.occupied|\&.free][\&.urgent|\&.nonurgent][\&.local|\&.foreign]
380 .nr an-no-space-flag 1
384 \fBPrimary Selectors\fR
389 Selects the desktop with the given name\&.
394 Selects the nth desktop\&.
399 Selects the desktop in the given direction relative to the active desktop\&.
404 Selects the previously focused desktop\&.
409 Selects the currently focused desktop\&.
414 Selects the desktop older than the focused desktop in the history\&.
419 Selects the desktop newer than the focused desktop in the history\&.
424 .nr an-no-space-flag 1
433 Only consider occupied desktops\&.
438 Only consider free desktops\&.
443 Only consider urgent desktops\&.
448 Only consider non urgent desktops\&.
453 Only consider desktops of the current monitor\&.
458 Only consider desktops outside of the current monitor\&.
469 MONITOR_SEL := <monitor_name>
471 | (DIR|CYCLE_DIR|last|primary|focused|older|newer)[\&.occupied|\&.free]
478 .nr an-no-space-flag 1
482 \fBPrimary Selectors\fR
487 Selects the monitor with the given name\&.
492 Selects the nth monitor\&.
497 Selects the monitor in the given (spacial) direction relative to the active monitor\&.
502 Selects the monitor in the given (cyclic) direction relative to the active monitor\&.
507 Selects the primary monitor\&.
512 Selects the previously focused monitor\&.
517 Selects the currently focused monitor\&.
522 Selects the monitor older than the focused monitor in the history\&.
527 Selects the monitor newer than the focused monitor in the history\&.
532 .nr an-no-space-flag 1
541 Only consider monitors where the focused desktop is occupied\&.
546 Only consider monitors where the focused desktop is free\&.
553 Its size and position are determined by the splitting type and ratio of each node of its path in the window tree\&.
558 Has an unrestricted size while being centered in its tiling space\&.
563 Can be moved/resized freely\&. Although it doesn\(cqt occupy any tiling space, it is still part of the window tree\&.
568 Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer by default\&.
581 Stays in the focused desktop of its monitor\&.
586 Tries to keep the same tiling position/size\&.
591 Has its urgency hint set\&. This flag is set externally\&.
593 .SH "STACKING LAYERS"
595 There\(cqs three stacking layers: BELOW, NORMAL and ABOVE\&.
597 In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fullscreen < floating\&.
602 .nr an-no-space-flag 1
609 window [\fIWINDOW_SEL\fR] \fIOPTIONS\fR
613 .nr an-no-space-flag 1
620 \fB\-f\fR, \fB\-\-focus\fR [\fIWINDOW_SEL\fR]
622 Focus the selected or given window\&.
625 \fB\-a\fR, \fB\-\-activate\fR [\fIWINDOW_SEL\fR]
627 Activate the selected or given window\&.
630 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR
632 Send the selected window to the given desktop\&.
635 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
637 Send the selected window to the given monitor\&.
640 \fB\-w\fR, \fB\-\-to\-window\fR \fIWINDOW_SEL\fR
642 Transplant the selected window to the given window\&.
645 \fB\-s\fR, \fB\-\-swap\fR \fIWINDOW_SEL\fR
647 Swap the selected window with the given window\&.
650 \fB\-p\fR, \fB\-\-presel\fR \fIDIR\fR|cancel
652 Preselect the splitting area of the selected window (or cancel the preselection)\&.
655 \fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR
657 Set the splitting ratio of the selected window (0 <
662 \fB\-e\fR, \fB\-\-edge\fR \fIDIR\fR \fIRATIO\fR|\(+-\fIPIXELS\fR
664 Set or change the splitting ratio of the edge located in the given direction in relation to the selected window\&.
667 \fB\-R\fR, \fB\-\-rotate\fR \fIDIR\fR \fI90|270|180\fR
669 Rotate the tree holding the edge located in the given direction in relation to the selected window\&.
672 \fB\-t\fR, \fB\-\-state\fR tiled|pseudo_tiled|floating|fullscreen
674 Set the state of the selected window\&.
677 \fB\-g\fR, \fB\-\-flag\fR locked|sticky|private[=on|off]
679 Set or toggle the given flag for the selected window\&.
682 \fB\-l\fR, \fB\-\-layer\fR below|normal|above
684 Set the stacking layer of the selected window\&.
687 \fB\-c\fR, \fB\-\-close\fR
689 Close the selected window\&.
692 \fB\-k\fR, \fB\-\-kill\fR
694 Kill the selected window\&.
700 .nr an-no-space-flag 1
707 desktop [\fIDESKTOP_SEL\fR] \fIOPTIONS\fR
711 .nr an-no-space-flag 1
718 \fB\-f\fR, \fB\-\-focus\fR [\fIDESKTOP_SEL\fR]
720 Focus the selected or given desktop\&.
723 \fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
725 Send the selected desktop to the given monitor\&.
728 \fB\-l\fR, \fB\-\-layout\fR \fICYCLE_DIR\fR|monocle|tiled
730 Set or cycle the layout of the selected desktop\&.
733 \fB\-n\fR, \fB\-\-rename\fR <new_name>
735 Rename the selected desktop\&.
738 \fB\-s\fR, \fB\-\-swap\fR \fIDESKTOP_SEL\fR
740 Swap the selected desktop with the given desktop\&.
743 \fB\-b\fR, \fB\-\-bubble\fR \fICYCLE_DIR\fR
745 Bubble the selected desktop in the given direction\&.
748 \fB\-r\fR, \fB\-\-remove\fR
750 Remove the selected desktop\&.
753 \fB\-c\fR, \fB\-\-cancel\-presel\fR
755 Cancel the preselection of all the windows of the selected desktop\&.
758 \fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
760 Flip the tree of the selected desktop\&.
763 \fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
765 Rotate the tree of the selected desktop\&.
768 \fB\-E\fR, \fB\-\-equalize\fR
770 Reset the split ratios of the tree of the selected desktop\&.
773 \fB\-B\fR, \fB\-\-balance\fR
775 Adjust the split ratios of the tree of the selected desktop so that all windows occupy the same area\&.
778 \fB\-C\fR, \fB\-\-circulate\fR forward|backward
780 Circulate the leaves of the tree of the selected desktop\&.
786 .nr an-no-space-flag 1
793 monitor [\fIMONITOR_SEL\fR] \fIOPTIONS\fR
797 .nr an-no-space-flag 1
804 \fB\-f\fR, \fB\-\-focus\fR [\fIMONITOR_SEL\fR]
806 Focus the selected or given monitor\&.
809 \fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
811 Create desktops with the given names in the selected monitor\&.
814 \fB\-r\fR, \fB\-\-remove\-desktops\fR <name>\&...
816 Remove desktops with the given names\&.
819 \fB\-o\fR, \fB\-\-reorder\-desktops\fR <name>\&...
821 Reorder the desktops of the selected monitor to match the given order\&.
824 \fB\-d\fR, \fB\-\-reset\-desktops\fR <name>\&...
826 Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&. Incidentally reset the settings of the existing desktops\&.
829 \fB\-n\fR, \fB\-\-rename\fR <new_name>
831 Rename the selected monitor\&.
834 \fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
836 Swap the selected monitor with the given monitor\&.
842 .nr an-no-space-flag 1
853 .nr an-no-space-flag 1
860 \fB\-W\fR, \fB\-\-windows\fR
862 List matching windows\&.
865 \fB\-D\fR, \fB\-\-desktops\fR
867 List matching desktops\&.
870 \fB\-M\fR, \fB\-\-monitors\fR
872 List matching monitors\&.
875 \fB\-T\fR, \fB\-\-tree\fR
877 Print tree rooted at query\&.
880 \fB\-H\fR, \fB\-\-history\fR
882 Print the history as it relates to the query\&.
885 \fB\-S\fR, \fB\-\-stack\fR
887 Print the window stacking order\&.
890 [\fB\-m\fR,\fB\-\-monitor\fR [\fIMONITOR_SEL\fR]] | [\fB\-d\fR,\fB\-\-desktop\fR [\fIDESKTOP_SEL\fR]] | [\fB\-w\fR, \fB\-\-window\fR [\fIWINDOW_SEL\fR]]
892 Constrain matches to the selected monitor, desktop or window\&.
898 .nr an-no-space-flag 1
905 restore \fIOPTIONS\fR
909 .nr an-no-space-flag 1
916 \fB\-T\fR, \fB\-\-tree\fR <file_path>
918 Load the desktop trees from the given file\&.
921 \fB\-H\fR, \fB\-\-history\fR <file_path>
923 Load the focus history from the given file\&.
926 \fB\-S\fR, \fB\-\-stack\fR <file_path>
928 Load the window stacking order from the given file\&.
934 .nr an-no-space-flag 1
941 control \fIOPTIONS\fR
945 .nr an-no-space-flag 1
952 \fB\-\-adopt\-orphans\fR
954 Manage all the unmanaged windows remaining from a previous session\&.
957 \fB\-\-toggle\-visibility\fR
959 Toggle the visibility of all the windows\&.
962 \fB\-\-record\-history\fR on|off
964 Enable or disable the recording of window focus history\&.
967 \fB\-\-subscribe\fR (all|report|monitor|desktop|window|\&...)*
969 Continuously print status information\&. See the
971 section for the detailed description of each event\&.
974 \fB\-\-get\-status\fR
976 Print the current status information\&.
982 .nr an-no-space-flag 1
989 pointer \fIOPTIONS\fR
993 .nr an-no-space-flag 1
1000 \fB\-g\fR, \fB\-\-grab\fR focus|move|resize_side|resize_corner
1002 Initiate the given pointer action\&.
1005 \fB\-t\fR, \fB\-\-track\fR <x> <y>
1007 Pass the pointer root coordinates for the current pointer action\&.
1010 \fB\-u\fR, \fB\-\-ungrab\fR
1012 Terminate the current pointer action\&.
1018 .nr an-no-space-flag 1
1022 \fBGeneral Syntax\fR
1029 .nr an-no-space-flag 1
1036 \fB\-a\fR, \fB\-\-add\fR <class_name>|<instance_name>|* [\fB\-o\fR|\fB\-\-one\-shot\fR] [monitor=MONITOR_SEL|desktop=DESKTOP_SEL|window=WINDOW_SEL] [state=STATE] [layer=LAYER] [split_dir=DIR] [split_ratio=RATIO] [(locked|sticky|private|center|follow|manage|focus|border)=(on|off)]
1038 Create a new rule\&.
1041 \fB\-r\fR, \fB\-\-remove\fR ^<n>|head|tail|<class_name>|<instance_name>|*\&...
1043 Remove the given rules\&.
1046 \fB\-l\fR, \fB\-\-list\fR [<class_name>|<instance_name>|*]
1054 .nr an-no-space-flag 1
1058 \fBGeneral Syntax\fR
1061 config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-w \fIWINDOW_SEL\fR] <key> [<value>]
1063 Get or set the value of <key>\&.
1069 .nr an-no-space-flag 1
1073 \fBGeneral Syntax\fR
1078 Quit with an optional exit status\&.
1083 If the server can\(cqt handle a message, \fBbspc\fR will return with one of the following exit codes:
1101 Colors are either \fI#RRGGBB\fR or X color names, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
1103 All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
1104 .SS "Global Settings"
1106 \fIfocused_border_color\fR
1108 Color of the border of a focused window of a focused monitor\&.
1111 \fIactive_border_color\fR
1113 Color of the border of a focused window of an unfocused monitor\&.
1116 \fInormal_border_color\fR
1118 Color of the border of an unfocused window\&.
1121 \fIpresel_border_color\fR
1128 \fIfocused_locked_border_color\fR
1130 Color of the border of a focused locked window of a focused monitor\&.
1133 \fIactive_locked_border_color\fR
1135 Color of the border of a focused locked window of an unfocused monitor\&.
1138 \fInormal_locked_border_color\fR
1140 Color of the border of an unfocused locked window\&.
1143 \fIfocused_sticky_border_color\fR
1145 Color of the border of a focused sticky window of a focused monitor\&.
1148 \fIactive_sticky_border_color\fR
1150 Color of the border of a focused sticky window of an unfocused monitor\&.
1153 \fInormal_sticky_border_color\fR
1155 Color of the border of an unfocused sticky window\&.
1158 \fIfocused_private_border_color\fR
1160 Color of the border of a focused private window of a focused monitor\&.
1163 \fIactive_private_border_color\fR
1165 Color of the border of a focused private window of an unfocused monitor\&.
1168 \fInormal_private_border_color\fR
1170 Color of the border of an unfocused private window\&.
1173 \fIurgent_border_color\fR
1175 Color of the border of an urgent window\&.
1180 Default split ratio\&.
1185 Prefix prepended to each of the status lines\&.
1188 \fIexternal_rules_command\fR
1190 External command used to retrieve rule consequences\&. The command will receive the the ID of the window being processed as its first argument and the class and instance names as second and third arguments\&. The output of that command must have the following format:
1191 \fBkey1=value1 key2=value2 \&...\fR
1192 (the valid key/value pairs are given in the description of the
1197 \fIinitial_polarity\fR
1199 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:
1201 \fBsecond_child\fR\&.
1204 \fIhistory_aware_focus\fR
1206 Give priority to the focus history when focusing nodes\&.
1209 \fIfocus_by_distance\fR
1211 Base focusing on distances between windows\&.
1214 \fIborderless_monocle\fR
1216 Remove borders of tiled windows for the
1221 \fIgapless_monocle\fR
1223 Remove gaps of tiled windows for the
1230 Set the desktop layout to
1232 if there\(cqs only one tiled window in the tree\&.
1235 \fIfocus_follows_pointer\fR
1237 Focus the window under the pointer\&.
1240 \fIpointer_follows_focus\fR
1242 When focusing a window, put the pointer at its center\&.
1245 \fIpointer_follows_monitor\fR
1247 When focusing a monitor, put the pointer at its center\&.
1250 \fIauto_alternate\fR
1252 Interpret two consecutive identical
1261 Interpret two consecutive identical
1268 \fIapply_floating_atom\fR
1270 Set the value of the
1271 \fI_BSPWM_FLOATING_WINDOW\fR
1272 atom of each window according to its floating state\&.
1275 \fIignore_ewmh_focus\fR
1277 Ignore EWMH focus requests coming from applications\&.
1280 \fIcenter_pseudo_tiled\fR
1282 Center pseudo tiled windows into their tiling rectangles\&. Defaults to
1286 \fIremove_disabled_monitors\fR
1288 Consider disabled monitors as disconnected\&.
1291 \fIremove_unplugged_monitors\fR
1293 Remove unplugged monitors\&.
1296 \fImerge_overlapping_monitors\fR
1298 Merge overlapping monitors (the bigger remains)\&.
1300 .SS "Monitor and Desktop Settings"
1302 \fItop_padding\fR, \fIright_padding\fR, \fIbottom_padding\fR, \fIleft_padding\fR
1304 Padding space added at the sides of the monitor or desktop\&.
1306 .SS "Default, Desktop Default and Window Settings"
1310 Window border width\&.
1312 .SS "Default and Desktop Settings"
1316 Size of the gap that separates windows\&.
1322 See the next section for the description of the format\&.
1325 \fImonitor_add <monitor_name> <monitor_id> <monitor_geometry>\fR
1327 A monitor is added\&.
1330 \fImonitor_rename <old_name> <new_name>\fR
1332 A monitor is renamed\&.
1335 \fImonitor_remove <monitor_name>\fR
1337 A monitor is removed\&.
1340 \fImonitor_focus <monitor_name>\fR
1342 A monitor is focused\&.
1345 \fImonitor_geometry <monitor_name> <monitor_geometry>\fR
1347 The geometry of a monitor changed\&.
1350 \fIdesktop_add <monitor_name> <desktop_name>\fR
1352 A desktop is added\&.
1355 \fIdesktop_rename <monitor_name> <old_name> <new_name>\fR
1357 A desktop is renamed\&.
1360 \fIdesktop_remove <monitor_name> <desktop_name>\fR
1362 A desktop is removed\&.
1365 \fIdesktop_swap <src_monitor_name> <src_desktop_name> <dst_monitor_name> <dst_desktop_name>\fR
1367 A desktop is swapped\&.
1370 \fIdesktop_transfer <src_monitor_name> <src_desktop_name> <dst_monitor_name>\fR
1372 A desktop is transferred\&.
1375 \fIdesktop_focus <monitor_name> <desktop_name>\fR
1377 A desktop is focused\&.
1380 \fIdesktop_layout <monitor_name> <desktop_name> tiled|monocle\fR
1382 The layout of a desktop changed\&.
1385 \fIwindow_manage <monitor_name> <desktop_name> <window_id> <ip_id>\fR
1387 A window is managed\&.
1390 \fIwindow_manage <monitor_name> <desktop_name> <window_id> <ip_id>\fR
1392 A window is managed\&.
1395 \fIwindow_unmanage <monitor_name> <desktop_name> <window_id>\fR
1397 A window is unmanaged\&.
1400 \fIwindow_swap <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>\fR
1402 A window is swapped\&.
1405 \fIwindow_transfer <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>\fR
1407 A window is transferred\&.
1410 \fIwindow_focus <monitor_name> <desktop_name> <window_id>\fR
1412 A window is focused\&.
1415 \fIwindow_activate <monitor_name> <desktop_name> <window_id>\fR
1417 A window is activated\&.
1420 \fIwindow_geometry <monitor_name> <desktop_name> <window_id> <window_geometry>\fR
1422 The geometry of a window changed\&.
1425 \fIwindow_state <monitor_name> <desktop_name> <window_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
1427 The state of a window changed\&.
1430 \fIwindow_flag <monitor_name> <desktop_name> <window_id> sticky|private|locked|urgent on|off\fR
1432 One of the flags of a window changed\&.
1435 \fIwindow_layer <monitor_name> <desktop_name> <window_id> below|normal|above\fR
1437 The layer of a window changed\&.
1440 Please note that \fBbspwm\fR initializes monitors before it reads messages on its socket, therefore the initial monitor events can\(cqt be received\&.
1443 Each report event message is composed of items separated by colons\&.
1445 Each item has the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
1447 \fIM<monitor_name>\fR
1452 \fIm<monitor_name>\fR
1454 Unfocused monitor\&.
1457 \fIO<desktop_name>\fR
1459 Occupied focused desktop\&.
1462 \fIo<desktop_name>\fR
1464 Occupied unfocused desktop\&.
1467 \fIF<desktop_name>\fR
1469 Free focused desktop\&.
1472 \fIf<desktop_name>\fR
1474 Free unfocused desktop\&.
1477 \fIU<desktop_name>\fR
1479 Urgent focused desktop\&.
1482 \fIu<desktop_name>\fR
1484 Urgent unfocused desktop\&.
1489 Layout of the focused desktop of a monitor\&.
1491 .SH "ENVIRONMENT VARIABLES"
1495 The path of the socket used for the communication between
1498 \fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
1499 \fI/tmp/bspwm<host_name>_<display_number>_<screen_number>\-socket\fR\&.
1505 \h'-04'\(bu\h'+03'\c
1511 Any EWMH compliant panel (e\&.g\&.:
1513 \fIbmpanel2\fR, etc\&.)\&.
1518 \h'-04'\(bu\h'+03'\c
1524 A custom panel (have a look at the files in
1525 \fIexamples/panel\fR)\&.
1531 \h'-04'\(bu\h'+03'\c
1537 Configured and controlled through messages\&.
1542 \h'-04'\(bu\h'+03'\c
1548 Multiple monitors support\&.
1553 \h'-04'\(bu\h'+03'\c
1564 \h'-04'\(bu\h'+03'\c
1576 \h'-04'\(bu\h'+03'\c
1582 Steven Allen <steven at stebalien\&.com>
1587 \h'-04'\(bu\h'+03'\c
1593 Thomas Adam <thomas at xteddy\&.org>
1598 \h'-04'\(bu\h'+03'\c
1604 Ivan Kanakarakis <ivan\&.kanak at gmail\&.com>
1608 Bastien Dejean <nihilhill at gmail\&.com>
1611 bspwm at librelist\&.com