aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2023-06-27 02:11:13 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2023-06-28 15:38:32 +0200
commit0b142bd16baab2dba9e01444892032d05c179c2a (patch)
tree7ad091faf6be125ab155515c3170d5bbe98c4590 /doc
parenta98de941d04e8ca9304ba2f7336790dc1283634f (diff)
downloadriver-0b142bd16baab2dba9e01444892032d05c179c2a.tar.gz
river-0b142bd16baab2dba9e01444892032d05c179c2a.tar.xz
river: add tags rule
Diffstat (limited to 'doc')
-rw-r--r--doc/riverctl.1.scd7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd
index 7f1fcc3..2f452fb 100644
--- a/doc/riverctl.1.scd
+++ b/doc/riverctl.1.scd
@@ -258,10 +258,11 @@ For example, _abc_ is matched by _a\*_, _\*a\*_, _\*b\*_, _\*c_, _abc_, and
_\*_ but not matched by _\*a_, _b\*_, _\*b_, _c\*_, or _ab_. Note that _\*_
matches everything while _\*\*_ and the empty string are invalid.
-*rule-add* _action_ [*-app-id* _glob_|*-title* _glob_]
+*rule-add* _action_ [*-app-id* _glob_|*-title* _glob_] [_argument_]
Add a rule that applies an _action_ to views with *app-id* and *title*
matched by the respective _glob_. Omitting *-app-id* or *-title*
is equivalent to passing *-app-id* _\*_ or *-title* _\*_.
+ Some actions require an _argument_.
The supported _action_ types are:
@@ -272,6 +273,8 @@ matches everything while _\*\*_ and the empty string are invalid.
and existing views.
- *csd*: Use client-side decorations for the view. Applies to new
and existing views.
+ - *tag*: Set the initial tags of the view. Requires the tags as
+ an argument. Applies only to new views.
Both *float* and *no-float* rules are added to the same list,
which means that adding a *no-float* rule with the same arguments
@@ -300,7 +303,7 @@ matches everything while _\*\*_ and the empty string are invalid.
*rule-del* _action_ [*-app-id* _glob_|*-title* _glob_]
Delete a rule created using *rule-add* with the given arguments.
-*list-rules* *float*|*ssd*
+*list-rules* *float*|*ssd*|*tag*
Print the specified rule list. The output is ordered from most specific
to least specific, the same order in which views are checked against
when searching for a match. Only the first matching rule in the list