From aa8ea2fa82d3870fd26907d245b906e3aabc6025 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Thu, 5 Sep 2019 15:01:04 -0400 Subject: [PATCH] sway.5: clarify that a marks are unqiue This just clarifies that a mark can only be set for a single window since they are used as unique identifiers --- sway/sway.5.scd | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/sway/sway.5.scd b/sway/sway.5.scd index d6ba2e11..d9505245 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -621,10 +621,11 @@ The default colors are: *mark* --add|--replace [--toggle] Marks are arbitrary labels that can be used to identify certain windows and - then jump to them at a later time. By default, *mark* sets _identifier_ as - the only mark on a window. _--add_ will instead add _identifier_ to the - list of current marks. If _--toggle_ is specified mark will remove - _identifier_ if it is already marked. + then jump to them at a later time. Each _identifier_ can only be set on a + single window at a time since they act as a unique identifier. By default, + *mark* sets _identifier_ as the only mark on a window. _--add_ will instead + add _identifier_ to the list of current marks for that window. If _--toggle_ + is specified mark will remove _identifier_ if it is already marked. *mode* Switches to the specified mode. The default mode _default_. @@ -786,12 +787,6 @@ Kill all windows with the title "Emacs": [class="Emacs"] kill ``` -Mark all Firefox windows with "Browser": - -``` -[class="Firefox"] mark Browser -``` - You may like to use swaymsg -t get_tree for finding the values of these properties in practice for your applications.