]> git.lizzy.rs Git - bspwm.git/commitdiff
Properly document the split type modifiers
authorBastien Dejean <nihilhill@gmail.com>
Sun, 2 Aug 2020 07:47:59 +0000 (09:47 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Sun, 2 Aug 2020 07:47:59 +0000 (09:47 +0200)
doc/bspwm.1
doc/bspwm.1.asciidoc

index 8d9603b185b562c82c1c7004115462a28eaa317a..1d556050ea44b6b1e7c73302b494199ceec7f175 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: bspwm
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 08/01/2020
+.\"      Date: 08/02/2020
 .\"    Manual: Bspwm Manual
-.\"    Source: Bspwm 0.9.9-33-g1c795c3
+.\"    Source: Bspwm 0.9.9-34-ga9a2d00
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "08/01/2020" "Bspwm 0\&.9\&.9\-33\-g1c795c3" "Bspwm Manual"
+.TH "BSPWM" "1" "08/02/2020" "Bspwm 0\&.9\&.9\-34\-ga9a2d00" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -103,7 +103,7 @@ Select a node\&.
 NODE_SEL := [NODE_SEL#](DIR|CYCLE_DIR|PATH|any|first_ancestor|last|newest|
                         older|newer|focused|pointed|biggest|smallest|
                         <node_id>)[\&.[!]focused][\&.[!]active][\&.[!]automatic][\&.[!]local]
-                                  [\&.[!]leaf][\&.[!]window][\&.[!]STATE][\&.[!]FLAG][\&.[!]LAYER]
+                                  [\&.[!]leaf][\&.[!]window][\&.[!]STATE][\&.[!]FLAG][\&.[!]LAYER][\&.[!]SPLIT_TYPE]
                                   [\&.[!]same_class][\&.[!]descendant_of][\&.[!]ancestor_of]
 
 STATE := tiled|pseudo_tiled|floating|fullscreen
@@ -112,6 +112,8 @@ FLAG := hidden|sticky|private|locked|marked|urgent
 
 LAYER := below|normal|above
 
+SPLIT_TYPE := horizontal|vertical
+
 PATH := @[DESKTOP_SEL:][[/]JUMP](/JUMP)*
 
 JUMP := first|1|second|2|brother|parent|DIR
@@ -274,16 +276,6 @@ Only consider nodes in the reference desktop\&.
 Only consider leaf nodes\&.
 .RE
 .PP
-[!]horizontal
-.RS 4
-Only consider nodes whose split type is horizontal\&.
-.RE
-.PP
-[!]vertical
-.RS 4
-Only consider nodes whose split type is vertical\&.
-.RE
-.PP
 [!]window
 .RS 4
 Only consider nodes that hold a window\&.
@@ -318,6 +310,11 @@ Only consider windows that have the given flag set\&.
 .RS 4
 Only consider windows in the given layer\&.
 .RE
+.PP
+[!](horizontal|vertical)
+.RS 4
+Only consider nodes with the given split type\&.
+.RE
 .RE
 .SS "Desktop"
 .sp
index 55a8f2e9bce803b047cf6a4376faa85022cd931a..c9509bd86a68bc9aa77d1fcead50311c984154c2 100644 (file)
@@ -77,7 +77,7 @@ Select a node.
 NODE_SEL := [NODE_SEL#](DIR|CYCLE_DIR|PATH|any|first_ancestor|last|newest|
                         older|newer|focused|pointed|biggest|smallest|
                         <node_id>)[.[!]focused][.[!]active][.[!]automatic][.[!]local]
-                                  [.[!]leaf][.[!]window][.[!]STATE][.[!]FLAG][.[!]LAYER]
+                                  [.[!]leaf][.[!]window][.[!]STATE][.[!]FLAG][.[!]LAYER][.[!]SPLIT_TYPE]
                                   [.[!]same_class][.[!]descendant_of][.[!]ancestor_of]
 
 STATE := tiled|pseudo_tiled|floating|fullscreen
@@ -86,6 +86,8 @@ FLAG := hidden|sticky|private|locked|marked|urgent
 
 LAYER := below|normal|above
 
+SPLIT_TYPE := horizontal|vertical
+
 PATH := @[DESKTOP_SEL:][[/]JUMP](/JUMP)*
 
 JUMP := first|1|second|2|brother|parent|DIR
@@ -174,12 +176,6 @@ Modifiers
 [!]leaf::
        Only consider leaf nodes.
 
-[!]horizontal::
-       Only consider nodes whose split type is horizontal.
-
-[!]vertical::
-       Only consider nodes whose split type is vertical.
-
 [!]window::
        Only consider nodes that hold a window.
 
@@ -201,6 +197,10 @@ Modifiers
 [!](below|normal|above)::
        Only consider windows in the given layer.
 
+[!](horizontal|vertical)::
+       Only consider nodes with the given split type.
+
+
 Desktop
 ~~~~~~~