]> git.lizzy.rs Git - bspwm.git/blobdiff - doc/bspwm.1
Remove `apply_floating_atom` setting
[bspwm.git] / doc / bspwm.1
index 52034c2b6e0c361c249c40e53cefcf399d3393b0..32eafdff595a16533ad6278e09750b8146959771 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: 08/05/2015
+.\"      Date: 11/13/2015
 .\"    Manual: Bspwm Manual
 .\"    Source: Bspwm 0.9
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "08/05/2015" "Bspwm 0\&.9" "Bspwm Manual"
+.TH "BSPWM" "1" "11/13/2015" "Bspwm 0\&.9" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -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][\&.unfocused]
+            | (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]
 .fi
 .if n \{\
 .RE
@@ -225,24 +225,44 @@ Selects the window newer than the focused window in the history\&.
 \fBModifiers\fR
 .RS 4
 .PP
+tiled
+.RS 4
+Only consider tiled windows\&.
+.RE
+.PP
+nontiled
+.RS 4
+Only consider tiled windows\&.
+.RE
+.PP
+pseudotiled
+.RS 4
+Only consider pseudo\-tiled windows\&.
+.RE
+.PP
+nonpseudotiled
+.RS 4
+Only consider non pseudo\-tiled windows\&.
+.RE
+.PP
 floating
 .RS 4
 Only consider floating windows\&.
 .RE
 .PP
-tiled
+nonfloating
 .RS 4
-Only consider tiled windows\&.
+Only consider non floating windows\&.
 .RE
 .PP
-like
+fullscreen
 .RS 4
-Only consider windows that have the same class as the current window\&.
+Only consider fullscreen windows\&.
 .RE
 .PP
-unlike
+nonfullscreen
 .RS 4
-Only consider windows that have a different class than the current window\&.
+Only consider non fullscreen windows\&.
 .RE
 .PP
 manual
@@ -255,19 +275,89 @@ automatic
 Only consider windows in automatic splitting mode\&.
 .RE
 .PP
+focused
+.RS 4
+Only consider focused windows\&.
+.RE
+.PP
+unfocused
+.RS 4
+Only consider unfocused windows\&.
+.RE
+.PP
+below
+.RS 4
+Only consider windows of the BELOW layer\&.
+.RE
+.PP
+normal
+.RS 4
+Only consider windows of the NORMAL layer\&.
+.RE
+.PP
+above
+.RS 4
+Only consider windows of the ABOVE layer\&.
+.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
+.PP
 local
 .RS 4
 Only consider windows of the current desktop\&.
 .RE
 .PP
+foreign
+.RS 4
+Only consider windows outside of the current desktop\&.
+.RE
+.PP
+private
+.RS 4
+Only consider private windows\&.
+.RE
+.PP
+public
+.RS 4
+Only consider non private windows\&.
+.RE
+.PP
 urgent
 .RS 4
 Only consider urgent windows\&.
 .RE
 .PP
-unfocused
+nonurgent
 .RS 4
-Only consider windows other than the focused window\&.
+Only consider non urgent windows\&.
+.RE
+.PP
+sticky
+.RS 4
+Only consider sticky windows\&.
+.RE
+.PP
+nonsticky
+.RS 4
+Only consider non sticky windows\&.
+.RE
+.PP
+locked
+.RS 4
+Only consider locked windows\&.
+.RE
+.PP
+unlocked
+.RS 4
+Only consider non locked windows\&.
 .RE
 .RE
 .SS "Desktop"
@@ -280,7 +370,7 @@ Select a desktop\&.
 .nf
 DESKTOP_SEL := <desktop_name>
              | [MONITOR_SEL:]^<n>
-             | (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[\&.occupied|\&.free][\&.urgent][\&.local]
+             | (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[\&.occupied|\&.free][\&.urgent|\&.nonurgent][\&.local|\&.foreign]
 .fi
 .if n \{\
 .RE
@@ -353,10 +443,20 @@ urgent
 Only consider urgent desktops\&.
 .RE
 .PP
+nonurgent
+.RS 4
+Only consider non urgent desktops\&.
+.RE
+.PP
 local
 .RS 4
 Only consider desktops of the current monitor\&.
 .RE
+.PP
+foreign
+.RS 4
+Only consider desktops outside of the current monitor\&.
+.RE
 .RE
 .SS "Monitor"
 .sp
@@ -448,9 +548,9 @@ Only consider monitors where the focused desktop is free\&.
 .RE
 .SH "WINDOW STATES"
 .PP
-floating
+tiled
 .RS 4
-Is above any tiled window and can be moved/resized freely\&. Although it doesn\(cqt occupy any tiling space, it is still part of the window tree\&.
+Its size and position are determined by the splitting type and ratio of each node of its path in the window tree\&.
 .RE
 .PP
 pseudo_tiled
@@ -458,10 +558,16 @@ pseudo_tiled
 Has an unrestricted size while being centered in its tiling space\&.
 .RE
 .PP
+floating
+.RS 4
+Can be moved/resized freely\&. Although it doesn\(cqt occupy any tiling space, it is still part of the window tree\&.
+.RE
+.PP
 fullscreen
 .RS 4
-Fills its monitor rectangle, is above all the other windows and has no borders\&.
+Fills its monitor rectangle and has no borders\&. It is send in the ABOVE layer by default\&.
 .RE
+.SH "WINDOW FLAGS"
 .PP
 locked
 .RS 4
@@ -479,6 +585,16 @@ private
 .RS 4
 Tries to keep the same tiling position/size\&.
 .RE
+.PP
+urgent
+.RS 4
+Has its urgency hint set\&. This flag is set externally\&.
+.RE
+.SH "STACKING LAYERS"
+.sp
+There\(cqs three stacking layers: BELOW, NORMAL and ABOVE\&.
+.sp
+In each layer, the window are orderered as follow: tiled & pseudo\-tiled < fullscreen < floating\&.
 .SH "COMMANDS"
 .SS "Window"
 .sp
@@ -506,6 +622,11 @@ window [\fIWINDOW_SEL\fR] \fIOPTIONS\fR
 Focus the selected or given window\&.
 .RE
 .PP
+\fB\-a\fR, \fB\-\-activate\fR [\fIWINDOW_SEL\fR]
+.RS 4
+Activate the selected or given window\&.
+.RE
+.PP
 \fB\-d\fR, \fB\-\-to\-desktop\fR \fIDESKTOP_SEL\fR
 .RS 4
 Send the selected window to the given desktop\&.
@@ -548,9 +669,19 @@ Set or change the splitting ratio of the edge located in the given direction in
 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|pseudo_tiled|locked|sticky|private[=on|off]
+\fB\-t\fR, \fB\-\-state\fR tiled|pseudo_tiled|floating|fullscreen
+.RS 4
+Set the state of the selected window\&.
+.RE
+.PP
+\fB\-g\fR, \fB\-\-flag\fR locked|sticky|private[=on|off]
+.RS 4
+Set or toggle the given flag for the selected window\&.
+.RE
+.PP
+\fB\-l\fR, \fB\-\-layer\fR below|normal|above
 .RS 4
-Set or toggle the given state for the selected window\&.
+Set the stacking layer of the selected window\&.
 .RE
 .PP
 \fB\-c\fR, \fB\-\-close\fR
@@ -648,11 +779,6 @@ Adjust the split ratios of the tree of the selected desktop so that all windows
 .RS 4
 Circulate the leaves of the tree of the selected desktop\&.
 .RE
-.PP
-\fB\-t\fR, \fB\-\-toggle\fR floating[=on|off]
-.RS 4
-Set or toggle the given state for the selected desktop\&.
-.RE
 .RE
 .SS "Monitor"
 .sp
@@ -840,7 +966,9 @@ Enable or disable the recording of window focus history\&.
 .PP
 \fB\-\-subscribe\fR (all|report|monitor|desktop|window|\&...)*
 .RS 4
-Continuously print status information\&.
+Continuously print status information\&. See the
+\fBEVENTS\fR
+section for the detailed description of each event\&.
 .RE
 .PP
 \fB\-\-get\-status\fR
@@ -905,7 +1033,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|follow|manage|focus|border)=(on|off)] [split_dir=DIR] [split_ratio=RATIO]
+\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)]
 .RS 4
 Create a new rule\&.
 .RE
@@ -1085,17 +1213,23 @@ Base focusing on distances between windows\&.
 .PP
 \fIborderless_monocle\fR
 .RS 4
-Remove borders for tiled windows in monocle mode\&.
+Remove borders of tiled windows for the
+\fBmonocle\fR
+desktop layout\&.
 .RE
 .PP
 \fIgapless_monocle\fR
 .RS 4
-Remove gaps for tiled windows in monocle mode\&.
+Remove gaps of tiled windows for the
+\fBmonocle\fR
+desktop layout\&.
 .RE
 .PP
 \fIleaf_monocle\fR
 .RS 4
-Use monocle layout if there is a single node\&.
+Set the desktop layout to
+\fBmonocle\fR
+if there\(cqs only one tiled window in the tree\&.
 .RE
 .PP
 \fIfocus_follows_pointer\fR
@@ -1115,27 +1249,24 @@ When focusing a monitor, put the pointer at its center\&.
 .PP
 \fIauto_alternate\fR
 .RS 4
-Interpret two consecutive identical
-\fBuse\fR
-messages as an
-\fBalternate\fR
-message\&.
+Interpret consecutive identical
+\fB\-\-focus\fR
+arguments as the
+\fBlast\fR
+selector for the
+\fBmonitor\fR
+and
+\fBdesktop\fR
+commands\&.
 .RE
 .PP
 \fIauto_cancel\fR
 .RS 4
-Interpret two consecutive identical
-\fBpresel\fR
-messages as a
-\fBcancel\fR
-message\&.
-.RE
-.PP
-\fIapply_floating_atom\fR
-.RS 4
-Set the value of the
-\fI_BSPWM_FLOATING_WINDOW\fR
-atom of each window according to its floating state\&.
+Interpret consecutive identical
+\fB\-\-presel\fR
+arguments as
+\fB\-\-cancel\-presel\fR
+option\&.
 .RE
 .PP
 \fIignore_ewmh_focus\fR
@@ -1181,9 +1312,127 @@ Window border width\&.
 .RS 4
 Size of the gap that separates windows\&.
 .RE
-.SH "STATUS FORMAT"
+.SH "EVENTS"
+.PP
+\fIreport\fR
+.RS 4
+See the next section for the description of the format\&.
+.RE
+.PP
+\fImonitor_add <monitor_name> <monitor_id> <monitor_geometry>\fR
+.RS 4
+A monitor is added\&.
+.RE
+.PP
+\fImonitor_rename <old_name> <new_name>\fR
+.RS 4
+A monitor is renamed\&.
+.RE
+.PP
+\fImonitor_remove <monitor_name>\fR
+.RS 4
+A monitor is removed\&.
+.RE
+.PP
+\fImonitor_focus <monitor_name>\fR
+.RS 4
+A monitor is focused\&.
+.RE
+.PP
+\fImonitor_geometry <monitor_name> <monitor_geometry>\fR
+.RS 4
+The geometry of a monitor changed\&.
+.RE
+.PP
+\fIdesktop_add <monitor_name> <desktop_name>\fR
+.RS 4
+A desktop is added\&.
+.RE
+.PP
+\fIdesktop_rename <monitor_name> <old_name> <new_name>\fR
+.RS 4
+A desktop is renamed\&.
+.RE
+.PP
+\fIdesktop_remove <monitor_name> <desktop_name>\fR
+.RS 4
+A desktop is removed\&.
+.RE
+.PP
+\fIdesktop_swap <src_monitor_name> <src_desktop_name> <dst_monitor_name> <dst_desktop_name>\fR
+.RS 4
+A desktop is swapped\&.
+.RE
+.PP
+\fIdesktop_transfer <src_monitor_name> <src_desktop_name> <dst_monitor_name>\fR
+.RS 4
+A desktop is transferred\&.
+.RE
+.PP
+\fIdesktop_focus <monitor_name> <desktop_name>\fR
+.RS 4
+A desktop is focused\&.
+.RE
+.PP
+\fIdesktop_layout <monitor_name> <desktop_name> tiled|monocle\fR
+.RS 4
+The layout of a desktop changed\&.
+.RE
+.PP
+\fIwindow_manage <monitor_name> <desktop_name> <window_id> <ip_id>\fR
+.RS 4
+A window is managed\&.
+.RE
+.PP
+\fIwindow_unmanage <monitor_name> <desktop_name> <window_id>\fR
+.RS 4
+A window is unmanaged\&.
+.RE
+.PP
+\fIwindow_swap <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>\fR
+.RS 4
+A window is swapped\&.
+.RE
+.PP
+\fIwindow_transfer <src_monitor_name> <src_desktop_name> <src_window_id> <dst_monitor_name> <dst_desktop_name> <dst_window_id>\fR
+.RS 4
+A window is transferred\&.
+.RE
+.PP
+\fIwindow_focus <monitor_name> <desktop_name> <window_id>\fR
+.RS 4
+A window is focused\&.
+.RE
+.PP
+\fIwindow_activate <monitor_name> <desktop_name> <window_id>\fR
+.RS 4
+A window is activated\&.
+.RE
+.PP
+\fIwindow_geometry <monitor_name> <desktop_name> <window_id> <window_geometry>\fR
+.RS 4
+The geometry of a window changed\&.
+.RE
+.PP
+\fIwindow_state <monitor_name> <desktop_name> <window_id> tiled|pseudo_tiled|floating|fullscreen on|off\fR
+.RS 4
+The state of a window changed\&.
+.RE
+.PP
+\fIwindow_flag <monitor_name> <desktop_name> <window_id> sticky|private|locked|urgent on|off\fR
+.RS 4
+One of the flags of a window changed\&.
+.RE
+.PP
+\fIwindow_layer <monitor_name> <desktop_name> <window_id> below|normal|above\fR
+.RS 4
+The layer of a window changed\&.
+.RE
+.sp
+Please note that \fBbspwm\fR initializes monitors before it reads messages on its socket, therefore the initial monitor events can\(cqt be received\&.
+.SH "REPORT FORMAT"
 .sp
-Status information is composed of items separated by colons\&.
+Each report event message 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