From c4fe1e1a3fbd90ac86706a37101d7add80701587 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 8 Nov 2023 11:28:06 +0100 Subject: rules: rename "tag" action to "tags" This rule action accepts and assigns a set of 32 tags represented as a 32 bit integer just like all of river's other commands handling tags. Using the singular here is potentially misleading and is also inconsistent with set-view-tags, etc. which all use the plural. Sorry about the breaking change for those who use master branch, ideally I would have caught this before merging but at least I noticed before a release. This commit also does a bit of internal refactoring/cleanup of the rules system. --- doc/riverctl.1.scd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/riverctl.1.scd') diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd index f3704fe..b43678b 100644 --- a/doc/riverctl.1.scd +++ b/doc/riverctl.1.scd @@ -289,7 +289,7 @@ 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 + - *tags*: Set the initial tags of the view. Requires the tags as an argument. Applies only to new views. - *output*: Set the initial output of the view. Requires the output as an argument. Applies only to new views. The output can be specified @@ -339,7 +339,7 @@ matches everything while _\*\*_ and the empty string are invalid. *rule-del* [*-app-id* _glob_|*-title* _glob_] _action_ Delete a rule created using *rule-add* with the given arguments. -*list-rules* *float*|*ssd*|*tag*|*position*|*dimensions*|*fullscreen* +*list-rules* *float*|*ssd*|*tags*|*position*|*dimensions*|*fullscreen* 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