From 9a76887a28b0ee009d658e442f351791480e8d0b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 18 Sep 2011 16:06:52 +0100 Subject: [PATCH] docs/userguide: document the window_role criterion --- docs/userguide | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/userguide b/docs/userguide index 184848aa..49a967c2 100644 --- a/docs/userguide +++ b/docs/userguide @@ -754,6 +754,8 @@ class:: Compares the window class (the second part of WM_CLASS) instance:: Compares the window instance (the first part of WM_CLASS) +window_role:: + Compares the window role (WM_WINDOW_ROLE). id:: Compares the X11 window ID, which you can get via +xwininfo+ for example. title:: @@ -764,9 +766,9 @@ con_id:: Compares the i3-internal container ID, which you can get via the IPC interface. Handy for scripting. -The criteria +class+, +instance+, +title+ and +mark+ are actually regular -expressions (PCRE). See +pcresyntax(3)+ or +perldoc perlre+ for information on -how to use them. +The criteria +class+, +instance+, +role+, +title+ and +mark+ are actually +regular expressions (PCRE). See +pcresyntax(3)+ or +perldoc perlre+ for +information on how to use them. === Splitting containers