]> git.lizzy.rs Git - bspwm.git/blobdiff - doc/bspwm.1.txt
*Frames* are unnecessary
[bspwm.git] / doc / bspwm.1.txt
index aa379b465e1d2ca58f9bd1e6b92f6c8bbdb19dd5..e294f605be16650fb7cc73441a38598761bcb3f0 100644 (file)
@@ -287,6 +287,25 @@ free::
     Only consider monitors where the focused desktop is free.
 
 
+Window States
+-------------
+
+floating::
+    Is above any tiled window and can be moved/resized freely. Although it doesn't occupy any tiling space, it is still part of the window tree.
+
+fullscreen::
+    Fills its monitor rectangle, is above all the other windows and has no borders.
+
+locked::
+    Ignores the *close* message.
+
+sticky::
+    Stays in the focused desktop of its monitor.
+
+private::
+    Tries to keep the same tiling position/size.
+
+
 Commands
 --------
 
@@ -321,8 +340,8 @@ Options
 *-r*, *--ratio* 'RATIO'::
     Set the splitting ratio of the selected window (0 < 'RATIO' < 1).
 
-*-e*, *--edge* 'DIR' 'RATIO'|pull|push::
-    Set the splitting ratio (or pull, or push) the edge located in the given direction in relation to the selected window.
+*-e*, *--edge* 'DIR' 'RATIO'|±'PIXELS'|pull|push::
+    Set and change the splitting ratio of (or pull, or push) the edge located in the given direction in relation to the selected window.
 
 *-R*, *--rotate* 'DIR' '90|270|180'::
     Rotate the tree holding the edge located in the given direction in relation to the selected window.
@@ -402,12 +421,15 @@ Options
 *-r*, *--remove-desktops* <name>...::
     Remove desktops with the given names.
 
-*-n*, *--rename* <new_name>::
-    Rename the selected monitor.
+*-o*, *--reorder-desktops* <name>...::
+    Reorder the desktops of the selected monitor to match the given order.
 
 *-d*, *--reset-desktops* <name>...::
     Rename, add or remove desktops depending on whether the number of given names is equal, superior or inferior to the number of existing desktops.
 
+*-n*, *--rename* <new_name>::
+    Rename the selected monitor.
+
 *-s*, *--swap* 'MONITOR_SEL'::
     Swap the selected monitor with the given monitor.
 
@@ -505,6 +527,26 @@ Options
 *-u*, *--ungrab*::
     Terminate the current pointer action.
 
+Rule
+~~~~
+
+General Syntax
+^^^^^^^^^^^^^^
+
+rule 'OPTIONS'
+
+Options
+^^^^^^^
+
+*-a*, *--add* <class_name>|<instance_name>|* [*-o*|*--one-shot*] [desktop=DESKTOP_SEL|monitor=MONITOR_SEL] [(floating|fullscreen|locked|sticky|private|center|lower|follow|manage|focus)=(true|false)]::
+    Create a new rule.
+
+*-r*, *--remove* ^<n>|head|tail|<class_name>|<instance_name>|*...::
+    Remove the given rules.
+
+*-l*, *--list* [<class_name>|<instance_name>|*]::
+    List the rules.
+
 Config
 ~~~~~~
 
@@ -532,12 +574,6 @@ All the boolean settings are 'false' by default.
 Global Settings
 ~~~~~~~~~~~~~~~
 
-'rule_command'::
-    External command used to retrieve rule consequences. It must contain at least one integer format directive which will be replaced by the ID of the window being processed. The output of that command must have the following format: *key1=value1 key2=value2 ...*, where *keyN* is one of 'floating', 'fullscreen', 'locked', 'sticky', 'private', 'frame', 'center', 'lower', 'follow', 'manage', 'focus', 'desktop' or 'monitor'.
-
-'status_prefix'::
-    Prefix prepended to each of the status lines.
-
 'focused_border_color'::
     Color of the border of a focused window of a focused monitor.
 
@@ -580,21 +616,18 @@ Global Settings
 'urgent_border_color'::
     Color of the border of an urgent window.
 
-'focused_frame_opacity'::
-    Opacity of a focused frame of a focused monitor.
-
-'active_frame_opacity'::
-    Opacity of a focused frame of an unfocused monitor.
-
-'normal_frame_opacity'::
-    Opacity of an unfocused frame.
-
 'split_ratio'::
     Default split ratio.
 
 'growth_factor'::
     Intensity of the growth involved in pulling or pushing an edge.
 
+'status_prefix'::
+    Prefix prepended to each of the status lines.
+
+'external_rules_command'::
+    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: *key1=value1 key2=value2 ...* (the valid key/value pairs are given in the description of the 'rule' command).
+
 'history_aware_focus'::
     Give priority to the focus history when focusing nodes.
 
@@ -622,14 +655,8 @@ Global Settings
 'ignore_ewmh_focus'::
     Ignore EWMH requests to focus a window.
 
-Monitor Settings
-~~~~~~~~~~~~~~~~
-
-'top_padding'::
-'right_padding'::
-'bottom_padding'::
-'left_padding'::
-    Padding space added at the sides of the monitor.
+'remove_disabled_monitor'::
+    Consider disabled monitors as disconnected.
 
 Desktop Settings
 ~~~~~~~~~~~~~~~~
@@ -637,6 +664,12 @@ Desktop Settings
 'window_gap'::
     Size of the gap that separates windows.
 
+'top_padding'::
+'right_padding'::
+'bottom_padding'::
+'left_padding'::
+    Padding space added at the sides of the desktop.
+
 'border_width'::
     Window border width.
 
@@ -646,7 +679,7 @@ Status Format
 
 Status informations are composed of items separated by colons.
 
-Each item as the form '<type><value>' where '<type>' is the first character of the item.
+Each item has the form '<type><value>' where '<type>' is the first character of the item.
 
 'M<monitor_name>'::
     Focused monitor.
@@ -679,7 +712,7 @@ Environment Variables
 ---------------------
 
 'BSPWM_SOCKET'::
-  The path of the socket used for the communication between *bspc* and *bspwm*. If it isn't defined, then the following path is used: '/tmp/bspwm-socket'.
+  The path of the socket used for the communication between *bspc* and *bspwm*. If it isn't defined, then the following path is used: '/tmp/bspwm<display_name>-socket'.
 
 Panels
 ------