Added '%class' and '%instance' as placeholders for the title_format directive.

relates to #1861
This commit is contained in:
Ingo Bürk
2015-08-25 19:22:05 +02:00
parent c95d6e328e
commit 2938fc0ab1
2 changed files with 34 additions and 4 deletions

View File

@ -2115,6 +2115,12 @@ and the following placeholders which will be replaced:
+%title+::
The X11 window title (_NET_WM_NAME or WM_NAME as fallback).
+%class+:
The X11 window class (second part of WM_CLASS). This corresponds to the
+class+ criterion, see <<command_criteria>>.
+%instance+:
The X11 window instance (first part of WM_CLASS). This corresponds to the
+instance+ criterion, see <<command_criteria>>.
Using the <<for_window>> directive, you can set the title format for any window
based on <<command_criteria>>.