aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.txt
diff options
context:
space:
mode:
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r--sway/sway.5.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt
index 3cccdfd5..d76951b5 100644
--- a/sway/sway.5.txt
+++ b/sway/sway.5.txt
@@ -316,7 +316,7 @@ The default colors are:
316 If smart_gaps are _on_ then gaps will only be enabled if a workspace has more 316 If smart_gaps are _on_ then gaps will only be enabled if a workspace has more
317 than one child container. 317 than one child container.
318 318
319**mark** <--add|--replace> <--toggle> <identifier>:: 319**mark** \<--add|--replace> \<--toggle> <identifier>::
320 Marks are arbitrary labels that can be used to identify certain windows and 320 Marks are arbitrary labels that can be used to identify certain windows and
321 then jump to them at a later time. By default, the **mark** command sets 321 then jump to them at a later time. By default, the **mark** command sets
322 _identifier_ as the only mark on a window. By specifying _--add_, mark will 322 _identifier_ as the only mark on a window. By specifying _--add_, mark will
@@ -426,6 +426,20 @@ The string contains one or more (space separated) attribute/value pairs and they
426are used by some commands filter which views to execute actions on. All attributes 426are used by some commands filter which views to execute actions on. All attributes
427must match for the criteria string to match. 427must match for the criteria string to match.
428 428
429Criteria may be used with either the **for_window** or **assign** commands to
430specify operations to perform on new views. A criteria may also be used to
431perform specific commands (ones that normally act upon one window) on all views
432that match that criteria. For example:
433
434Focus on a window with the mark "IRC":
435 [con_mark="IRC"] focus
436
437Kill all windows with the title "Emacs":
438 [class="Emacs"] kill
439
440Mark all Firefox windows with "Browser":
441 [class="Firefox"] mark Browser
442
429Currently supported attributes: 443Currently supported attributes:
430 444
431**class**:: 445**class**::