aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-09-05 15:01:04 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2019-09-05 22:04:02 +0300
commitaa8ea2fa82d3870fd26907d245b906e3aabc6025 (patch)
tree0db20098b1db3cc2c3d48b5d8ccc2f839423dd54 /sway/sway.5.scd
parentFix type (an -> and) (diff)
downloadsway-aa8ea2fa82d3870fd26907d245b906e3aabc6025.tar.gz
sway-aa8ea2fa82d3870fd26907d245b906e3aabc6025.tar.zst
sway-aa8ea2fa82d3870fd26907d245b906e3aabc6025.zip
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/sway.5.scd')
-rw-r--r--sway/sway.5.scd15
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:
621 621
622*mark* --add|--replace [--toggle] <identifier> 622*mark* --add|--replace [--toggle] <identifier>
623 Marks are arbitrary labels that can be used to identify certain windows and 623 Marks are arbitrary labels that can be used to identify certain windows and
624 then jump to them at a later time. By default, *mark* sets _identifier_ as 624 then jump to them at a later time. Each _identifier_ can only be set on a
625 the only mark on a window. _--add_ will instead add _identifier_ to the 625 single window at a time since they act as a unique identifier. By default,
626 list of current marks. If _--toggle_ is specified mark will remove 626 *mark* sets _identifier_ as the only mark on a window. _--add_ will instead
627 _identifier_ if it is already marked. 627 add _identifier_ to the list of current marks for that window. If _--toggle_
628 is specified mark will remove _identifier_ if it is already marked.
628 629
629*mode* <mode> 630*mode* <mode>
630 Switches to the specified mode. The default mode _default_. 631 Switches to the specified mode. The default mode _default_.
@@ -786,12 +787,6 @@ Kill all windows with the title "Emacs":
786[class="Emacs"] kill 787[class="Emacs"] kill
787``` 788```
788 789
789Mark all Firefox windows with "Browser":
790
791```
792[class="Firefox"] mark Browser
793```
794
795You may like to use swaymsg -t get_tree for finding the values of these 790You may like to use swaymsg -t get_tree for finding the values of these
796properties in practice for your applications. 791properties in practice for your applications.
797 792