diff options
author | Nomeji <nomeji@emersion.fr> | 2019-05-14 17:09:30 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-14 10:40:22 -0600 |
commit | 578c1956accf6d06ed827740a9ad59d5ee23437c (patch) | |
tree | b43ff9638f8aead358f78ec8d40ed3bf26cacb1b | |
parent | 23c64ab22da0067f2718b822ec1a14a8bb0a3199 (diff) | |
download | sway-578c1956accf6d06ed827740a9ad59d5ee23437c.tar.xz |
Add infos to help using for_window to man 5
-rw-r--r-- | sway/sway.5.scd | 7 |
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": [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. + The following attributes may be matched with: *app_id* Compare value against the app id. Can be a regular expression. If value is \_\_focused\_\_, then the app id must be the same as that of the currently - focused window. + focused window. _app_id_ are specific to Wayland applications. *class* Compare value against the window class. Can be a regular expression. If value is \_\_focused\_\_, then the window class must be the same as that of - the currently focused window. + the currently focused window. _class_ are specific to X11 applications. *con_id* Compare against the internal container ID, which you can find via IPC. If |