]> git.lizzy.rs Git - bspwm.git/blobdiff - doc/bspwm.1
New setting: center_pseudo_tiled
[bspwm.git] / doc / bspwm.1
index c3ee60560fa8fdab1271c0b603773204c739049f..60955c2a79ab0300b214cd60bd3736c13dfe663b 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: bspwm
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 02/03/2014
+.\"      Date: 01/15/2015
 .\"    Manual: Bspwm Manual
-.\"    Source: Bspwm 0.8.8
+.\"    Source: Bspwm 0.8.9
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "02/03/2014" "Bspwm 0\&.8\&.8" "Bspwm Manual"
+.TH "BSPWM" "1" "01/15/2015" "Bspwm 0\&.8\&.9" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -68,7 +68,7 @@ Example configuration files can be found in the \fBexamples\fR directory\&.
 .sp
 New windows are inserted in the tree as close as possible to the focused window\&.
 .sp
-There is only two splitting modes: \fIautomatic\fR and \fImanual\fR\&.
+There are only two splitting modes: \fIautomatic\fR and \fImanual\fR\&.
 .sp
 The default mode is \fIautomatic\fR\&. The \fImanual\fR mode is entered by sending a \fBpreselection\fR message\&.
 .sp
@@ -99,7 +99,7 @@ Example: insertion of a new node (number 4) into the given tree in \fIautomatic\
 .RE
 .\}
 .sp
-Same departure, but the mode is \fImanual\fR, and a \fBwindow \-\-presel up\fR message was sent beforehand:
+Same action, but the mode is \fImanual\fR, and a \fBwindow \-\-presel up\fR message was sent beforehand:
 .sp
 .if n \{\
 .RS 4
@@ -157,7 +157,7 @@ PRIMARY_SELECTOR[\&.MODIFIER]*
 .RE
 .\}
 .sp
-For obvious reasons, neither desktops nor monitors names may be valid descriptive selectors\&.
+For obvious reasons, neither desktop nor monitor names may be valid descriptive selectors\&.
 .SS "Window"
 .sp
 Select a window\&.
@@ -167,7 +167,7 @@ Select a window\&.
 .\}
 .nf
 WINDOW_SEL := <window_id>
-            | (DIR|CYCLE_DIR|biggest|last|focused|older|newer)[\&.floating|\&.tiled][\&.like|\&.unlike][\&.manual|\&.automatic][\&.urgent][\&.local]
+            | (DIR|CYCLE_DIR|biggest|last|focused|older|newer)[\&.floating|\&.tiled][\&.like|\&.unlike][\&.manual|\&.automatic][\&.urgent][\&.local][\&.unfocused]
 .fi
 .if n \{\
 .RE
@@ -264,6 +264,11 @@ urgent
 .RS 4
 Only consider urgent windows\&.
 .RE
+.PP
+unfocused
+.RS 4
+Only consider windows other than the focused window\&.
+.RE
 .RE
 .SS "Desktop"
 .sp
@@ -274,8 +279,8 @@ Select a desktop\&.
 .\}
 .nf
 DESKTOP_SEL := <desktop_name>
-             | ^<n>
-             | (CYCLE_DIR|last|focused[:MONITOR_SEL]|older|newer)[\&.occupied|\&.free][\&.urgent][\&.local]
+             | [MONITOR_SEL:]^<n>
+             | (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[\&.occupied|\&.free][\&.urgent][\&.local]
 .fi
 .if n \{\
 .RE
@@ -450,7 +455,7 @@ Is above any tiled window and can be moved/resized freely\&. Although it doesn\(
 .PP
 pseudo_tiled
 .RS 4
-Has a libre size while being centered in its tiling space\&.
+Has an unrestricted size while being centered in its tiling space\&.
 .RE
 .PP
 fullscreen
@@ -687,7 +692,7 @@ Reorder the desktops of the selected monitor to match the given order\&.
 .PP
 \fB\-d\fR, \fB\-\-reset\-desktops\fR <name>\&...
 .RS 4
-Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops\&.
+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\&.
 .RE
 .PP
 \fB\-n\fR, \fB\-\-rename\fR <new_name>
@@ -830,7 +835,12 @@ Enable or disable the recording of window focus history\&.
 .PP
 \fB\-\-subscribe\fR
 .RS 4
-Continuously print status informations on standard output\&.
+Continuously print status information\&.
+.RE
+.PP
+\fB\-\-get\-status\fR
+.RS 4
+Print the current status information\&.
 .RE
 .RE
 .SS "Pointer"
@@ -890,7 +900,7 @@ rule \fIOPTIONS\fR
 \fBOptions\fR
 .RS 4
 .PP
-\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] [(floating|fullscreen|pseudo_tiled|locked|sticky|private|center|lower|follow|manage|focus)=(true|false)] [split_dir=DIR]
+\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] [(floating|fullscreen|pseudo_tiled|locked|sticky|private|center|follow|manage|focus|border)=(on|off)] [split_dir=DIR]
 .RS 4
 Create a new rule\&.
 .RE
@@ -915,7 +925,7 @@ List the rules\&.
 \fBGeneral Syntax\fR
 .RS 4
 .PP
-config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR] <key> [<value>]
+config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR|\-w \fIWINDOW_SEL\fR] <key> [<value>]
 .RS 4
 Get or set the value of <key>\&.
 .RE
@@ -935,11 +945,29 @@ quit [<status>]
 Quit with an optional exit status\&.
 .RE
 .RE
+.SH "EXIT CODES"
+.sp
+If the server can\(cqt handle a message, \fBbspc\fR will return with one of the following exit codes:
+.PP
+1
+.RS 4
+Failure\&.
+.RE
+.PP
+2
+.RS 4
+Syntax error\&.
+.RE
+.PP
+3
+.RS 4
+Unknown command\&.
+.RE
 .SH "SETTINGS"
 .sp
-Colors are either X color names or \fI#RRGGBB\fR, booleans are \fItrue\fR or \fIfalse\fR\&.
+Colors are either \fI#RRGGBB\fR or X color names, booleans are \fItrue\fR, \fIon\fR, \fIfalse\fR or \fIoff\fR\&.
 .sp
-All the boolean settings are \fIfalse\fR by default\&.
+All the boolean settings are \fIfalse\fR by default unless stated otherwise\&.
 .SS "Global Settings"
 .PP
 \fIfocused_border_color\fR
@@ -1033,11 +1061,23 @@ External command used to retrieve rule consequences\&. The command will receive
 command)\&.
 .RE
 .PP
+\fIinitial_polarity\fR
+.RS 4
+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:
+\fBfirst_child\fR,
+\fBsecond_child\fR\&.
+.RE
+.PP
 \fIhistory_aware_focus\fR
 .RS 4
 Give priority to the focus history when focusing nodes\&.
 .RE
 .PP
+\fIfocus_by_distance\fR
+.RS 4
+Base focusing on distances between windows\&.
+.RE
+.PP
 \fIborderless_monocle\fR
 .RS 4
 Remove borders for tiled windows in monocle mode\&.
@@ -1053,6 +1093,11 @@ Remove gaps for tiled windows in monocle mode\&.
 Focus the window under the pointer\&.
 .RE
 .PP
+\fIpointer_follows_focus\fR
+.RS 4
+When focusing a window, put the pointer at its center\&.
+.RE
+.PP
 \fIpointer_follows_monitor\fR
 .RS 4
 When focusing a monitor, put the pointer at its center\&.
@@ -1085,33 +1130,50 @@ atom of each window according to its floating state\&.
 .PP
 \fIignore_ewmh_focus\fR
 .RS 4
-Ignore EWMH requests to focus a window\&.
+Ignore EWMH focus requests coming from applications\&.
 .RE
 .PP
-\fIremove_disabled_monitor\fR
+\fIcenter_pseudo_tiled\fR
+.RS 4
+Center pseudo tiled windows into their tiling rectangles\&. Defaults to
+\fItrue\fR\&.
+.RE
+.PP
+\fIremove_disabled_monitors\fR
 .RS 4
 Consider disabled monitors as disconnected\&.
 .RE
+.PP
+\fIremove_unplugged_monitors\fR
+.RS 4
+Remove unplugged monitors\&.
+.RE
+.PP
+\fImerge_overlapping_monitors\fR
+.RS 4
+Merge overlapping monitors (the bigger remains)\&.
+.RE
 .SS "Monitor and Desktop Settings"
 .PP
 \fItop_padding\fR, \fIright_padding\fR, \fIbottom_padding\fR, \fIleft_padding\fR
 .RS 4
 Padding space added at the sides of the monitor or desktop\&.
 .RE
-.SS "Desktop Settings"
+.SS "Default, Desktop Default and Window Settings"
 .PP
-\fIwindow_gap\fR
+\fIborder_width\fR
 .RS 4
-Size of the gap that separates windows\&.
+Window border width\&.
 .RE
+.SS "Default and Desktop Settings"
 .PP
-\fIborder_width\fR
+\fIwindow_gap\fR
 .RS 4
-Window border width\&.
+Size of the gap that separates windows\&.
 .RE
 .SH "STATUS FORMAT"
 .sp
-Status informations are composed of items separated by colons\&.
+Status information is composed of items separated by colons\&.
 .sp
 Each item has the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
 .PP
@@ -1155,9 +1217,9 @@ Urgent focused desktop\&.
 Urgent unfocused desktop\&.
 .RE
 .PP
-\fIL(tiled|monocle)\fR
+\fIL(T|M)\fR
 .RS 4
-Layout of the focused desktop of the focused monitor\&.
+Layout of the focused desktop of a monitor\&.
 .RE
 .SH "ENVIRONMENT VARIABLES"
 .PP
@@ -1167,7 +1229,7 @@ The path of the socket used for the communication between
 \fBbspc\fR
 and
 \fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
-\fI/tmp/bspwm<display_name>\-socket\fR\&.
+\fI/tmp/bspwm<host_name>_<display_number>_<screen_number>\-socket\fR\&.
 .RE
 .SH "PANELS"
 .sp
@@ -1192,9 +1254,7 @@ Any EWMH compliant panel (e\&.g\&.:
 .sp -1
 .IP \(bu 2.3
 .\}
-A custom panel if the
-\fI\-s\fR
-flag is used (have a look at the files in
+A custom panel (have a look at the files in
 \fIexamples/panel\fR)\&.
 .RE
 .SH "KEY FEATURES"
@@ -1218,8 +1278,7 @@ Configured and controlled through messages\&.
 .sp -1
 .IP \(bu 2.3
 .\}
-Multiple monitors support (via
-\fIRandR\fR)\&.
+Multiple monitors support\&.
 .RE
 .sp
 .RS 4
@@ -1230,8 +1289,7 @@ Multiple monitors support (via
 .sp -1
 .IP \(bu 2.3
 .\}
-EWMH support (\fBtint2\fR
-works)\&.
+EWMH support\&.
 .RE
 .sp
 .RS 4