From 7266fafb4e3fed0cee65f11bde7bc41be656463b Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Mon, 15 Nov 2021 16:54:14 +0100 Subject: [PATCH] Improve man page about CRITERIA in (5)sway The man page is missing information that `'` will not work correctly and instead the `"` should be used. --- sway/sway.5.scd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sway/sway.5.scd b/sway/sway.5.scd index ec34a56ca..67568f5bf 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -855,7 +855,8 @@ The string contains one or more (space separated) attribute/value pairs. They are used by some commands to choose which views to execute actions on. All attributes must match for the criteria to match. Criteria is retained across commands separated by a *,*, but will be reset (and allow for new criteria, if -desired) for commands separated by a *;*. +desired) for commands separated by a *;*. The strings has to be quoted by *"* +the simple quotes *'* are not supported. Criteria may be used with either the *for_window* or *assign* commands to specify operations to perform on new views. A criteria may also be used to