docs/userguide: document the window_role criterion

This commit is contained in:
Michael Stapelberg 2011-09-18 16:06:52 +01:00
parent 5542af316f
commit 9a76887a28
1 changed files with 5 additions and 3 deletions

View File

@ -754,6 +754,8 @@ class::
Compares the window class (the second part of WM_CLASS) Compares the window class (the second part of WM_CLASS)
instance:: instance::
Compares the window instance (the first part of WM_CLASS) Compares the window instance (the first part of WM_CLASS)
window_role::
Compares the window role (WM_WINDOW_ROLE).
id:: id::
Compares the X11 window ID, which you can get via +xwininfo+ for example. Compares the X11 window ID, which you can get via +xwininfo+ for example.
title:: title::
@ -764,9 +766,9 @@ con_id::
Compares the i3-internal container ID, which you can get via the IPC Compares the i3-internal container ID, which you can get via the IPC
interface. Handy for scripting. interface. Handy for scripting.
The criteria +class+, +instance+, +title+ and +mark+ are actually regular The criteria +class+, +instance+, +role+, +title+ and +mark+ are actually
expressions (PCRE). See +pcresyntax(3)+ or +perldoc perlre+ for information on regular expressions (PCRE). See +pcresyntax(3)+ or +perldoc perlre+ for
how to use them. information on how to use them.
=== Splitting containers === Splitting containers