From 2b463c9e4df867c2cffd254ef90bb200460a61f4 Mon Sep 17 00:00:00 2001 From: polykernel <81340136+polykernel@users.noreply.github.com> Date: Mon, 6 Nov 2023 10:53:44 -0500 Subject: river: add fullscreen rule This commit adds a fullscreen rule for configuring whether the view should be drawn fullscreen on start up. The actions "fullscreen" and "no-fullscreen" map to the two possible state of a view and semantically operate on the same rule list. The behavior of adding, deleting and listing rules follows that of float and ssd. --- doc/riverctl.1.scd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd index 803f56c..f3704fe 100644 --- a/doc/riverctl.1.scd +++ b/doc/riverctl.1.scd @@ -311,7 +311,7 @@ matches everything while _\*\*_ and the empty string are invalid. Both *float* and *no-float* rules are added to the same list, which means that adding a *no-float* rule with the same arguments as a *float* rule will overwrite it. The same holds for *ssd* and - *csd* rules. + *csd*, *fullscreen* and *no-fullscreen* rules. If multiple rules in a list match a given view the most specific rule will be applied. For example with the following rules @@ -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* +*list-rules* *float*|*ssd*|*tag*|*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