aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Nomeji <nomeji@emersion.fr>2019-05-14 17:09:30 +0200
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-05-14 10:40:22 -0600
commit578c1956accf6d06ed827740a9ad59d5ee23437c (patch)
treeb43ff9638f8aead358f78ec8d40ed3bf26cacb1b /sway/sway.5.scd
parentinput/keyboard: attempt default keymap on failure (diff)
downloadsway-578c1956accf6d06ed827740a9ad59d5ee23437c.tar.gz
sway-578c1956accf6d06ed827740a9ad59d5ee23437c.tar.zst
sway-578c1956accf6d06ed827740a9ad59d5ee23437c.zip
Add infos to help using for_window to man 5
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd7
1 files changed, 5 insertions, 2 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 29c1d0e5..74963c9d 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -770,17 +770,20 @@ Mark all Firefox windows with "Browser":
770[class="Firefox"] mark Browser 770[class="Firefox"] mark Browser
771``` 771```
772 772
773You may like to use swaymsg -t get_tree for finding the values of these
774properties in practice for your applications.
775
773The following attributes may be matched with: 776The following attributes may be matched with:
774 777
775*app_id* 778*app_id*
776 Compare value against the app id. Can be a regular expression. If value is 779 Compare value against the app id. Can be a regular expression. If value is
777 \_\_focused\_\_, then the app id must be the same as that of the currently 780 \_\_focused\_\_, then the app id must be the same as that of the currently
778 focused window. 781 focused window. _app_id_ are specific to Wayland applications.
779 782
780*class* 783*class*
781 Compare value against the window class. Can be a regular expression. If 784 Compare value against the window class. Can be a regular expression. If
782 value is \_\_focused\_\_, then the window class must be the same as that of 785 value is \_\_focused\_\_, then the window class must be the same as that of
783 the currently focused window. 786 the currently focused window. _class_ are specific to X11 applications.
784 787
785*con_id* 788*con_id*
786 Compare against the internal container ID, which you can find via IPC. If 789 Compare against the internal container ID, which you can find via IPC. If