diff options
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r-- | sway/sway.5.txt | 43 |
1 files changed, 10 insertions, 33 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt index 704bb699..03975349 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt | |||
@@ -485,15 +485,10 @@ Mark all Firefox windows with "Browser": | |||
485 | 485 | ||
486 | Currently supported attributes: | 486 | Currently supported attributes: |
487 | 487 | ||
488 | **app_id**:: | ||
489 | Compare value against the app id. Can be a regular expression. If value is | ||
490 | __focused__, then the app id must be the same as that of the currently | ||
491 | focused window. | ||
492 | |||
493 | **class**:: | 488 | **class**:: |
494 | Compare value against the window class. Can be a regular expression. If | 489 | Compare value against the window class. Can be a regular expression. If value |
495 | value is __focused__, then the window class must be the same as that of the | 490 | is _focused_, then the window class must be the same as that of the currently |
496 | currently focused window. | 491 | focused window. |
497 | 492 | ||
498 | **con_id**:: | 493 | **con_id**:: |
499 | Compare against the internal container ID, which you can find via IPC. | 494 | Compare against the internal container ID, which you can find via IPC. |
@@ -505,38 +500,20 @@ Currently supported attributes: | |||
505 | Matches against floating windows. | 500 | Matches against floating windows. |
506 | 501 | ||
507 | **id**:: | 502 | **id**:: |
508 | Compare value against the X11 window id. Must be numeric. | 503 | Compare value against the app id. Can be a regular expression. |
509 | |||
510 | **instance**:: | ||
511 | Compare value against the window instance. Can be a regular expression. If | ||
512 | value is __focused__, then the window instance must be the same as that of | ||
513 | the currently focused window. | ||
514 | |||
515 | **tiling**:: | ||
516 | Matches against tiling windows. | ||
517 | 504 | ||
518 | **title**:: | 505 | **title**:: |
519 | Compare against the window title. Can be a regular expression. If value is | 506 | Compare against the window title. Can be a regular expression. If value is |
520 | __focused__, then the window title must be the same as that of the currently | 507 | _focused_ then the window title must be the same as that of the currently |
521 | focused window. | 508 | focused window. |
522 | 509 | ||
523 | **urgent**:: | 510 | **tiling**:: |
524 | Compares the urgent state of the window. Can be "latest" or "oldest". | 511 | Matches against tiling windows. |
525 | |||
526 | **window_role**:: | ||
527 | Compare against the window role (WM_WINDOW_ROLE). Can be a regular | ||
528 | expression. If value is __focused__, then the window role must be the same | ||
529 | as that of the currently focused window. | ||
530 | |||
531 | **window_type**:: | ||
532 | Compare against the window type (_NET_WM_WINDOW_TYPE). Possible values are | ||
533 | normal, dialog, utility, toolbar, splash, menu, dropdown_menu, popup_menu, | ||
534 | tooltip and notification. | ||
535 | 512 | ||
536 | **workspace**:: | 513 | **workspace**:: |
537 | Compare against the workspace name for this view. Can be a regular | 514 | Compare against the workspace name for this view. Can be a regular expression. |
538 | expression. If the value is __focused__, then all the views on the currently | 515 | If the value is _focused_, then all the views on the currently focused workspace |
539 | focused workspace matches. | 516 | matches. |
540 | 517 | ||
541 | See Also | 518 | See Also |
542 | -------- | 519 | -------- |