bspwm/doc/bspwm.1

1245 lines
23 KiB
Groff
Raw Normal View History

2013-06-26 21:50:01 +02:00
'\" t
.\" Title: bspwm
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 10/19/2013
2013-06-26 21:50:01 +02:00
.\" Manual: Bspwm Manual
2013-10-19 11:52:05 +02:00
.\" Source: Bspwm 0.8.6
2013-06-26 21:50:01 +02:00
.\" Language: English
.\"
2013-10-19 11:52:05 +02:00
.TH "BSPWM" "1" "10/19/2013" "Bspwm 0\&.8\&.6" "Bspwm Manual"
2013-06-26 21:50:01 +02:00
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
bspwm \- Binary space partitioning window manager
2013-06-26 21:50:01 +02:00
.SH "SYNOPSIS"
.sp
\fBbspwm\fR [\fB\-h\fR|\fB\-v\fR|\fB\-c\fR \fICONFIG_PATH\fR|\fB\-s\fR \fIPANEL_FIFO\fR|\fB\-p\fR \fIPANEL_PREFIX\fR]
2013-06-26 21:50:01 +02:00
.sp
\fBbspc\fR \fICOMMAND\fR [\fIARGUMENTS\fR]
2013-06-26 21:50:01 +02:00
.SH "DESCRIPTION"
.sp
\fBbspwm\fR is a tiling window manager that represents windows as the leaves of a full binary tree\&.
.sp
It is controlled and configured via \fBbspc\fR\&.
.SH "OPTIONS"
.PP
\fB\-h\fR
.RS 4
Print the synopsis and exit\&.
.RE
.PP
\fB\-v\fR
.RS 4
Print the version and exit\&.
.RE
.PP
\fB\-c\fR \fICONFIG_PATH\fR
.RS 4
Use the given configuration file\&.
.RE
.PP
\fB\-s\fR \fIPANEL_FIFO\fR
.RS 4
Write the internal state to the given FIFO\&.
.RE
.PP
\fB\-p\fR \fIPANEL_PREFIX\fR
.RS 4
Start every line written to the
\fIPANEL_FIFO\fR
with the given prefix\&.
.RE
2013-06-26 21:50:01 +02:00
.SH "CONFIGURATION"
.sp
2013-09-11 19:30:06 +02:00
\fBbspwm\fR has only two sources of informations: the X events it receives and the messages it reads on a dedicated socket\&.
2013-06-26 21:50:01 +02:00
.sp
The default configuration file is \fI$XDG_CONFIG_HOME/bspwm/bspwmrc\fR\&.
2013-06-26 21:50:01 +02:00
.sp
Keyboard and pointer bindings are defined with sxhkd\&.
.sp
Example configuration files can be found in the \fBexamples\fR directory\&.
.SH "SPLITTING MODES"
.sp
New windows are inserted in the tree as close as possible to the focused window\&.
.sp
2013-06-26 21:50:01 +02:00
There is 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\&.
2013-06-26 21:50:01 +02:00
.sp
Example: insertion of a new node (number 4) into the given tree in \fIautomatic\fR mode:
.sp
.if n \{\
.RS 4
.\}
.nf
b c
/ \e / \e
3 a \-\-> 4 b
^ / \e ^ / \e
2 1 3 a
/ \e
2 1
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
| | | | | |
| | 2 | | | 3 |
| | | | | |
| 3 |\-\-\-\-\-\-\-\-\-\-\-\-| \-\-> | 4 |\-\-\-\-\-\-\-\-\-\-\-\-|
| ^ | | | ^ | | |
| | 1 | | | 1 | 2 |
| | | | | | |
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
.fi
.if n \{\
.RE
.\}
.sp
Same departure, but the mode is \fImanual\fR, and a \fBwindow \-\-presel up\fR message was sent beforehand:
2013-06-26 21:50:01 +02:00
.sp
.if n \{\
.RS 4
.\}
.nf
b b
/ \e / \e
3 a \-\-> c a
^ / \e / \e / \e
2 1 4 3 2 1
^
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
| | | | | |
| | 2 | | 4 | 2 |
| | | | ^ | |
| 3 |\-\-\-\-\-\-\-\-\-\-\-\-| \-\-> |\-\-\-\-\-\-\-\-\-\-\-\-|\-\-\-\-\-\-\-\-\-\-\-\-|
| ^ | | | | |
| | 1 | | 3 | 1 |
| | | | | |
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
.fi
.if n \{\
.RE
.\}
.SH "CONTAINERS"
.sp
Each monitor contains at least one desktop\&.
.sp
Each desktop contains at most one tree\&.
.SH "COMMON DEFINITIONS"
.sp
.if n \{\
2013-06-26 21:50:01 +02:00
.RS 4
.\}
.nf
DIR := left | right | up | down
CYCLE_DIR := next | prev
.fi
.if n \{\
2013-06-26 21:50:01 +02:00
.RE
.\}
.SH "SELECTORS"
.sp
Selectors are used to select a target window, desktop, or monitor\&. A selector can either describe the target relatively or name it globally\&.
.sp
Descriptive (relative) selectors consist of a primary selector and any number of non\-conflicting modifiers as follows:
.sp
.if n \{\
.RS 4
.\}
.nf
PRIMARY_SELECTOR[\&.MODIFIER]*
.fi
.if n \{\
.RE
.\}
.sp
For obvious reasons, neither desktops nor monitors names may be valid descriptive selectors\&.
.SS "Window"
.sp
Select a window\&.
.sp
.if n \{\
.RS 4
.\}
.nf
WINDOW_SEL := <window_id>
| (DIR|CYCLE_DIR|biggest|last|focused|older|newer)[\&.floating|\&.tiled][\&.like|\&.unlike][\&.manual][\&.urgent][\&.local]
.fi
.if n \{\
.RE
.\}
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBPrimary Selectors\fR
.RS 4
.PP
\fIDIR\fR
.RS 4
Selects the window in the given (spacial) direction relative to the active window\&.
.RE
.PP
\fICYCLE_DIR\fR
.RS 4
Selects the window in the given (cyclic) direction\&.
.RE
.PP
biggest
.RS 4
Selects the biggest window on the current desktop\&.
.RE
.PP
last
.RS 4
2013-10-05 22:32:40 +02:00
Selects the previously focused window\&.
.RE
.PP
focused
.RS 4
Selects the currently focused window\&.
.RE
.PP
2013-10-08 13:59:17 +02:00
older
.RS 4
Selects the window older than the focused window in the history\&.
.RE
.PP
newer
.RS 4
Selects the window newer than the focused window in the history\&.
.RE
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBModifiers\fR
.RS 4
.PP
floating
.RS 4
Only consider floating windows\&.
.RE
.PP
tiled
.RS 4
Only consider tiled windows\&.
.RE
.PP
like
.RS 4
Only consider windows that have the same class as the current window\&.
.RE
.PP
unlike
.RS 4
Only consider windows that have a different class than the current window\&.
.RE
2013-07-13 18:40:44 -04:00
.PP
manual
.RS 4
Only consider windows in manual splitting mode (see
\fB\-\-presel\fR)\&.
.RE
.PP
local
.RS 4
Only consider windows of the current desktop\&.
.RE
.PP
urgent
.RS 4
Only consider urgent windows\&.
.RE
.RE
.SS "Desktop"
.sp
Select a desktop\&.
.sp
.if n \{\
.RS 4
.\}
.nf
DESKTOP_SEL := <desktop_name>
| ^<n>
| (CYCLE_DIR|last|focused|older|newer)[\&.occupied|\&.free][\&.urgent][\&.local]
.fi
.if n \{\
.RE
.\}
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBPrimary Selectors\fR
.RS 4
.PP
<desktop_name>
.RS 4
Selects the desktop with the given name\&.
.RE
.PP
^<n>
.RS 4
Selects the nth desktop\&.
.RE
.PP
\fICYCLE_DIR\fR
.RS 4
Selects the desktop in the given direction relative to the active desktop\&.
.RE
.PP
last
.RS 4
2013-07-13 10:31:14 +02:00
Selects the previously focused desktop\&.
.RE
.PP
focused
.RS 4
Selects the currently focused desktop\&.
.RE
.PP
older
.RS 4
Selects the desktop older than the focused desktop in the history\&.
.RE
.PP
newer
.RS 4
Selects the desktop newer than the focused desktop in the history\&.
.RE
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBModifiers\fR
.RS 4
.PP
occupied
.RS 4
Only consider occupied desktops\&.
.RE
.PP
free
.RS 4
Only consider free desktops\&.
.RE
.PP
urgent
.RS 4
Only consider urgent desktops\&.
.RE
.PP
local
.RS 4
Only consider desktops of the current monitor\&.
.RE
.RE
.SS "Monitor"
.sp
Select a monitor\&.
.sp
.if n \{\
.RS 4
.\}
.nf
MONITOR_SEL := <monitor_name>
| ^<n>
| (DIR|CYCLE_DIR|last|primary|focused|older|newer)[\&.occupied|\&.free]
.fi
.if n \{\
.RE
.\}
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBPrimary Selectors\fR
.RS 4
.PP
<monitor_name>
.RS 4
Selects the monitor with the given name\&.
.RE
.PP
^<n>
.RS 4
Selects the nth monitor\&.
.RE
.PP
\fIDIR\fR
.RS 4
Selects the monitor in the given (spacial) direction relative to the active monitor\&.
.RE
.PP
\fICYCLE_DIR\fR
.RS 4
Selects the monitor in the given (cyclic) direction relative to the active monitor\&.
.RE
.PP
2013-09-09 15:25:26 +02:00
primary
.RS 4
Selects the primary monitor\&.
.RE
.PP
last
.RS 4
2013-07-13 10:31:14 +02:00
Selects the previously focused monitor\&.
.RE
.PP
focused
.RS 4
Selects the currently focused monitor\&.
.RE
.PP
older
.RS 4
Selects the monitor older than the focused monitor in the history\&.
.RE
.PP
newer
.RS 4
Selects the monitor newer than the focused monitor in the history\&.
.RE
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBModifiers\fR
.RS 4
.PP
occupied
.RS 4
Only consider monitors where the focused desktop is occupied\&.
.RE
.PP
free
.RS 4
Only consider monitors where the focused desktop is free\&.
.RE
.RE
.SH "COMMANDS"
.SS "Window"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-26 21:50:01 +02:00
.RS 4
.sp
window [\fIWINDOW_SEL\fR] \fIOPTIONS\fR
2013-06-26 21:50:01 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
2013-06-26 21:50:01 +02:00
.RS 4
.PP
\fB\-f\fR, \fB\-\-focus\fR [\fIWINDOW_SEL\fR]
2013-06-26 21:50:01 +02:00
.RS 4
Focus the selected or given window\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR
2013-06-26 21:50:01 +02:00
.RS 4
Send the selected window to the given desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
2013-06-26 21:50:01 +02:00
.RS 4
Send the selected window to the given monitor\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-w\fR, \fB\-\-to\-window\fR \fIWINDOW_SEL\fR
2013-06-26 21:50:01 +02:00
.RS 4
Transplant the selected window to the given window\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-s\fR, \fB\-\-swap\fR \fIWINDOW_SEL\fR
2013-06-26 21:50:01 +02:00
.RS 4
Swap the selected window with the given window\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-p\fR, \fB\-\-presel\fR \fIDIR\fR|cancel
2013-06-26 21:50:01 +02:00
.RS 4
Preselect the splitting area of the selected window (or cancel the preselection)\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-r\fR, \fB\-\-ratio\fR \fIRATIO\fR
2013-06-26 21:50:01 +02:00
.RS 4
2013-07-23 19:26:01 +02:00
Set the splitting ratio of the selected window (0 <
\fIRATIO\fR
< 1)\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-e\fR, \fB\-\-edge\fR \fIDIR\fR \fIRATIO\fR|pull|push
2013-06-26 21:50:01 +02:00
.RS 4
Set the splitting ratio (or pull, or push) the edge located in the given direction in relation to the selected window\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-R\fR, \fB\-\-rotate\fR \fIDIR\fR \fI90|270|180\fR
.RS 4
Rotate the tree holding the edge located in the given direction in relation to the selected window\&.
.RE
.PP
\fB\-t\fR, \fB\-\-toggle\fR floating|fullscreen|locked|sticky|private[=on|off]
2013-06-26 21:50:01 +02:00
.RS 4
Set or toggle the given state for the selected window\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-c\fR, \fB\-\-close\fR
2013-06-26 21:50:01 +02:00
.RS 4
Close the selected window\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-k\fR, \fB\-\-kill\fR
2013-06-26 21:50:01 +02:00
.RS 4
Kill the selected window\&.
2013-06-26 21:50:01 +02:00
.RE
.RE
.SS "Desktop"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-26 21:50:01 +02:00
.RS 4
.sp
desktop [\fIDESKTOP_SEL\fR] \fIOPTIONS\fR
2013-06-26 21:50:01 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
2013-06-26 21:50:01 +02:00
.RS 4
.PP
\fB\-f\fR, \fB\-\-focus\fR [\fIDESKTOP_SEL\fR]
2013-06-26 21:50:01 +02:00
.RS 4
Focus the selected or given desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-m\fR, \fB\-\-to\-monitor\fR \fIMONITOR_SEL\fR
2013-06-26 21:50:01 +02:00
.RS 4
Send the selected desktop to the given monitor\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-l\fR, \fB\-\-layout\fR \fICYCLE_DIR\fR|monocle|tiled
2013-06-26 21:50:01 +02:00
.RS 4
Set or cycle the layout of the selected desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-n\fR, \fB\-\-rename\fR <new_name>
2013-06-26 21:50:01 +02:00
.RS 4
Rename the selected desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-s\fR, \fB\-\-swap\fR \fIDESKTOP_SEL\fR
.RS 4
Swap the selected desktop with the given desktop\&.
.RE
.PP
\fB\-r\fR, \fB\-\-remove\fR
2013-06-26 21:50:01 +02:00
.RS 4
Remove the selected desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-c\fR, \fB\-\-cancel\-presel\fR
2013-06-26 21:50:01 +02:00
.RS 4
Cancel the preselection of all the windows of the selected desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-F\fR, \fB\-\-flip\fR \fIhorizontal|vertical\fR
2013-06-26 21:50:01 +02:00
.RS 4
Flip the tree of the selected desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-R\fR, \fB\-\-rotate\fR \fI90|270|180\fR
2013-06-26 21:50:01 +02:00
.RS 4
Rotate the tree of the selected desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-B\fR, \fB\-\-balance\fR
2013-06-26 21:50:01 +02:00
.RS 4
Adjust the split ratios of the tree of the selected desktop so that all windows occupy the same area\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-C\fR, \fB\-\-circulate\fR forward|backward
2013-06-26 21:50:01 +02:00
.RS 4
Circulate the leaves of the tree of the selected desktop\&.
2013-06-26 21:50:01 +02:00
.RE
.RE
.SS "Monitor"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-26 21:50:01 +02:00
.RS 4
.sp
monitor [\fIMONITOR_SEL\fR] \fIOPTIONS\fR
2013-06-26 21:50:01 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
2013-06-26 21:50:01 +02:00
.RS 4
.PP
\fB\-f\fR, \fB\-\-focus\fR [\fIMONITOR_SEL\fR]
2013-06-26 21:50:01 +02:00
.RS 4
Focus the selected or given monitor\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-a\fR, \fB\-\-add\-desktops\fR <name>\&...
2013-06-26 21:50:01 +02:00
.RS 4
Create desktops with the given names in the selected monitor\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-r\fR, \fB\-\-remove\-desktops\fR <name>\&...
2013-06-26 21:50:01 +02:00
.RS 4
Remove desktops with the given names\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-n\fR, \fB\-\-rename\fR <new_name>
2013-06-26 21:50:01 +02:00
.RS 4
Rename the selected monitor\&.
2013-06-26 21:50:01 +02:00
.RE
.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\&.
.RE
.PP
\fB\-s\fR, \fB\-\-swap\fR \fIMONITOR_SEL\fR
.RS 4
Swap the selected monitor with the given monitor\&.
.RE
2013-06-26 21:50:01 +02:00
.RE
.SS "Query"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-28 15:16:56 +02:00
.RS 4
.sp
query \fIOPTIONS\fR
2013-06-28 15:16:56 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
2013-06-26 21:50:01 +02:00
.RS 4
.PP
\fB\-W\fR, \fB\-\-windows\fR
2013-06-26 21:50:01 +02:00
.RS 4
List matching windows\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-D\fR, \fB\-\-desktops\fR
2013-06-26 21:50:01 +02:00
.RS 4
List matching desktops\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-M\fR, \fB\-\-monitors\fR
2013-06-26 21:50:01 +02:00
.RS 4
List matching monitors\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-T\fR, \fB\-\-tree\fR
2013-06-26 21:50:01 +02:00
.RS 4
Print tree rooted at query\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-H\fR, \fB\-\-history\fR
2013-06-26 21:50:01 +02:00
.RS 4
Print the history as it relates to the query\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-S\fR, \fB\-\-stack\fR
.RS 4
Print the window stacking order\&.
.RE
.PP
[\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]]
2013-06-26 21:50:01 +02:00
.RS 4
Constrain matches to the selected monitor, desktop or window\&.
2013-06-26 21:50:01 +02:00
.RE
.RE
.SS "Restore"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-26 21:50:01 +02:00
.RS 4
.sp
restore \fIOPTIONS\fR
2013-06-26 21:50:01 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
.RS 4
2013-06-26 21:50:01 +02:00
.PP
\fB\-T\fR, \fB\-\-tree\fR <file_path>
2013-06-26 21:50:01 +02:00
.RS 4
Load the desktop trees from the given file\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-H\fR, \fB\-\-history\fR <file_path>
2013-06-26 21:50:01 +02:00
.RS 4
Load the focus history from the given file\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-S\fR, \fB\-\-stack\fR <file_path>
.RS 4
Load the window stacking order from the given file\&.
.RE
.RE
.SS "Control"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-26 21:50:01 +02:00
.RS 4
.sp
control \fIOPTIONS\fR
2013-06-26 21:50:01 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
.RS 4
2013-06-26 21:50:01 +02:00
.PP
\fB\-\-adopt\-orphans\fR
2013-06-26 21:50:01 +02:00
.RS 4
Manage all the unmanaged windows remaining from a previous session\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-\-put\-status\fR
2013-06-26 21:50:01 +02:00
.RS 4
Write the current internal state to the panel FIFO\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-\-toggle\-visibility\fR
2013-06-26 21:50:01 +02:00
.RS 4
2013-09-16 13:40:28 +02:00
Toggle the visibility of all the windows\&.
.RE
2013-10-08 23:16:07 +02:00
.PP
\fB\-\-record\-history\fR on|off
.RS 4
Enable or disable the recording of window focus history\&.
.RE
.RE
.SS "Pointer"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-26 21:50:01 +02:00
.RS 4
.sp
pointer \fIOPTIONS\fR
2013-06-26 21:50:01 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
.RS 4
2013-06-26 21:50:01 +02:00
.PP
\fB\-t\fR, \fB\-\-track\fR <x> <y>
2013-06-26 21:50:01 +02:00
.RS 4
Pass the pointer root coordinates for the current pointer action\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
\fB\-g\fR, \fB\-\-grab\fR focus|move|resize_side|resize_corner
2013-06-26 21:50:01 +02:00
.RS 4
Perform the given pointer action\&.
2013-06-26 21:50:01 +02:00
.RE
.RE
.SS "Rule"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
2013-06-26 21:50:01 +02:00
.RS 4
.sp
rule \fIOPTIONS\fR
2013-06-26 21:50:01 +02:00
.RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBOptions\fR
.RS 4
2013-06-26 21:50:01 +02:00
.PP
\fB\-a\fR, \fB\-\-add\fR <class_name>|<instance_name> [\-d \fIDESKTOP_SEL\fR [\-\-follow]] [\-\-floating] [\-\-fullscreen] [\-\-locked] [\-\-sticky] [\-\-focus] [\-\-frame] [\-\-private] [\-\-unmanage] [\-\-one\-shot]
2013-06-26 21:50:01 +02:00
.RS 4
2013-10-06 18:35:08 +02:00
Create a new rule\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
2013-10-06 18:35:08 +02:00
\fB\-r\fR, \fB\-\-remove\fR <name>|^<n>|tail|head\&...
2013-06-26 21:50:01 +02:00
.RS 4
2013-10-06 18:35:08 +02:00
Remove the rules with the given names or indexes\&.
2013-06-26 21:50:01 +02:00
.RE
.PP
2013-10-06 18:35:08 +02:00
\fB\-l\fR, \fB\-\-list\fR [<name>]
2013-06-26 21:50:01 +02:00
.RS 4
List the rules\&.
.RE
2013-06-26 21:50:01 +02:00
.RE
.SS "Config"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
.RS 4
2013-06-26 21:50:01 +02:00
.PP
config [\-m \fIMONITOR_SEL\fR|\-d \fIDESKTOP_SEL\fR] <key> [<value>]
2013-06-26 21:50:01 +02:00
.RS 4
Get or set the value of <key>\&.
.RE
2013-06-26 21:50:01 +02:00
.RE
.SS "Quit"
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBGeneral Syntax\fR
.RS 4
2013-06-26 21:50:01 +02:00
.PP
quit [<status>]
2013-06-26 21:50:01 +02:00
.RS 4
Quit with an optional exit status\&.
.RE
2013-06-26 21:50:01 +02:00
.RE
.SH "SETTINGS"
.sp
Colors are either X color names or \fI#RRGGBB\fR, booleans are \fItrue\fR or \fIfalse\fR\&.
.sp
All the boolean settings are \fIfalse\fR by default\&.
2013-09-15 11:51:12 +02:00
.SS "Global Settings"
2013-06-26 21:50:01 +02:00
.PP
\fIfocused_border_color\fR
.RS 4
Color of the border of a focused window of a focused monitor\&.
.RE
.PP
\fIactive_border_color\fR
.RS 4
Color of the border of a focused window of an unfocused monitor\&.
.RE
.PP
\fInormal_border_color\fR
.RS 4
Color of the border of an unfocused window\&.
.RE
.PP
\fIpresel_border_color\fR
.RS 4
Color of the
\fBpresel\fR
message feedback\&.
.RE
.PP
\fIfocused_locked_border_color\fR
.RS 4
Color of the border of a focused locked window of a focused monitor\&.
.RE
.PP
\fIactive_locked_border_color\fR
.RS 4
Color of the border of a focused locked window of an unfocused monitor\&.
.RE
.PP
\fInormal_locked_border_color\fR
.RS 4
Color of the border of an unfocused locked window\&.
.RE
.PP
2013-10-01 18:04:18 +02:00
\fIfocused_sticky_border_color\fR
.RS 4
Color of the border of a focused sticky window of a focused monitor\&.
.RE
.PP
\fIactive_sticky_border_color\fR
.RS 4
Color of the border of a focused sticky window of an unfocused monitor\&.
.RE
.PP
2013-10-01 18:04:18 +02:00
\fInormal_sticky_border_color\fR
.RS 4
Color of the border of an unfocused sticky window\&.
.RE
.PP
2013-10-12 21:16:51 +02:00
\fIfocused_private_border_color\fR
.RS 4
Color of the border of a focused private window of a focused monitor\&.
.RE
.PP
\fIactive_private_border_color\fR
.RS 4
Color of the border of a focused private window of an unfocused monitor\&.
.RE
.PP
\fInormal_private_border_color\fR
.RS 4
Color of the border of an unfocused private window\&.
.RE
.PP
2013-06-26 21:50:01 +02:00
\fIurgent_border_color\fR
.RS 4
Color of the border of an urgent window\&.
.RE
.PP
2013-10-10 18:24:21 +02:00
\fIfocused_frame_opacity\fR
.RS 4
Opacity of a focused frame of a focused monitor\&.
.RE
.PP
\fIactive_frame_opacity\fR
.RS 4
Opacity of a focused frame of an unfocused monitor\&.
.RE
.PP
\fInormal_frame_opacity\fR
.RS 4
Opacity of an unfocused frame\&.
.RE
.PP
2013-06-26 21:50:01 +02:00
\fIsplit_ratio\fR
.RS 4
Default split ratio\&.
.RE
.PP
2013-09-23 10:53:21 +02:00
\fIgrowth_factor\fR
.RS 4
Intensity of the growth involved in pulling or pushing an edge\&.
.RE
.PP
\fIhistory_aware_focus\fR
.RS 4
Give priority to the focus history when focusing nodes\&.
.RE
.PP
2013-06-26 21:50:01 +02:00
\fIborderless_monocle\fR
.RS 4
Remove borders for tiled windows in monocle mode\&.
.RE
.PP
\fIgapless_monocle\fR
.RS 4
Remove gaps for tiled windows in monocle mode\&.
.RE
.PP
\fIfocus_follows_pointer\fR
.RS 4
Focus the window under the pointer\&.
.RE
.PP
\fIpointer_follows_monitor\fR
.RS 4
When focusing a monitor, put the pointer at its center\&.
.RE
.PP
\fIauto_alternate\fR
.RS 4
Interpret two consecutive identical
\fBuse\fR
messages as an
\fBalternate\fR
message\&.
.RE
.PP
2013-07-04 12:14:47 +02:00
\fIauto_cancel\fR
.RS 4
Interpret two consecutive identical
\fBpresel\fR
messages as a
\fBcancel\fR
message\&.
.RE
.PP
\fIapply_floating_atom\fR
2013-06-26 21:50:01 +02:00
.RS 4
Set the value of the
\fI_BSPWM_FLOATING_WINDOW\fR
atom of each window according to its floating state\&.
2013-06-26 21:50:01 +02:00
.RE
2013-09-23 11:45:00 +02:00
.PP
\fIhonor_ewmh_focus\fR
.RS 4
Honor EWMH requests to focus a window\&.
.RE
2013-09-15 11:51:12 +02:00
.SS "Monitor 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\&.
.RE
.SS "Desktop Settings"
.PP
\fIwindow_gap\fR
.RS 4
Size of the gap that separates windows\&.
.RE
.PP
\fIborder_width\fR
.RS 4
Window border width\&.
.RE
2013-10-11 12:23:26 +02:00
.SH "INTERNAL STATE FORMAT"
.sp
If a \fIPANEL_FIFO\fR is specified, \fBbspwm\fR will write informations regarding its current state to it\&.
.sp
Those informations are composed of items separated by colons\&.
.sp
Each item as the form \fI<type><value>\fR where \fI<type>\fR is the first character of the item\&.
.PP
\fIM<monitor_name>\fR
.RS 4
Focused monitor\&.
.RE
.PP
\fIm<monitor_name>\fR
.RS 4
Unfocused monitor\&.
.RE
.PP
\fIO<desktop_name>\fR
.RS 4
Occupied focused desktop\&.
.RE
.PP
\fIo<desktop_name>\fR
.RS 4
Occupied unfocused desktop\&.
.RE
.PP
\fIF<desktop_name>\fR
.RS 4
Free focused desktop\&.
.RE
.PP
\fIf<desktop_name>\fR
.RS 4
Free unfocused desktop\&.
.RE
.PP
\fIU<desktop_name>\fR
.RS 4
Urgent focused desktop\&.
.RE
.PP
\fIu<desktop_name>\fR
.RS 4
Urgent unfocused desktop\&.
.RE
.PP
\fIL(tiled|monocle)\fR
.RS 4
Layout of the focused desktop of the focused monitor\&.
.RE
2013-06-26 21:50:01 +02:00
.SH "ENVIRONMENT VARIABLES"
.PP
\fIBSPWM_SOCKET\fR
.RS 4
The path of the socket used for the communication between
\fBbspc\fR
and
2013-08-18 21:21:11 +02:00
\fBbspwm\fR\&. If it isn\(cqt defined, then the following path is used:
\fI/tmp/bspwm\-socket\fR\&.
2013-06-26 21:50:01 +02:00
.RE
.SH "PANELS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Any EWMH compliant panel (e\&.g\&.:
\fItint2\fR,
\fIbmpanel2\fR, etc\&.)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
A custom panel if the
\fI\-s\fR
flag is used (have a look at the files in
\fIexamples/panel\fR)\&.
.RE
.SH "KEY FEATURES"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Configured and controlled through messages\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Multiple monitors support (via
\fIRandR\fR)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
EWMH support (\fBtint2\fR
works)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Hybrid tiling\&.
2013-06-26 21:50:01 +02:00
.RE
.SH "CONTRIBUTORS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
2013-07-03 09:25:27 +02:00
Steven Allen <steven at stebalien\&.com>
2013-06-26 21:50:01 +02:00
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Thomas Adam <thomas at xteddy\&.org>
.RE
2013-07-03 09:25:27 +02:00
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Ivan Kanakarakis <ivan\&.kanak at gmail\&.com>
.RE
2013-06-26 21:50:01 +02:00
.SH "AUTHOR"
.sp
2013-09-20 19:00:41 +02:00
Bastien Dejean <nihilhill at gmail\&.com>
2013-06-26 21:50:01 +02:00
.SH "MAILING LIST"
.sp
bspwm at librelist\&.com