diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-09-05 15:01:04 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-09-05 22:04:02 +0300 |
commit | aa8ea2fa82d3870fd26907d245b906e3aabc6025 (patch) | |
tree | 0db20098b1db3cc2c3d48b5d8ccc2f839423dd54 /sway | |
parent | 21717d2ed2108159fe20742c6e567b72e1ecc1c8 (diff) | |
download | sway-aa8ea2fa82d3870fd26907d245b906e3aabc6025.tar.xz |
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
Diffstat (limited to 'sway')
-rw-r--r-- | sway/sway.5.scd | 15 |
1 files 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] <identifier> 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* <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. |