From 0b142bd16baab2dba9e01444892032d05c179c2a Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Tue, 27 Jun 2023 02:11:13 +0200 Subject: river: add tags rule --- doc/riverctl.1.scd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3