config: add WM_CLASS window criteria
This commit is contained in:
parent
6d3d4dcabb
commit
faa0b27ef8
15 changed files with 159 additions and 10 deletions
|
|
@ -264,6 +264,14 @@ pub enum WindowCriterion<'a> {
|
|||
Tag(&'a str),
|
||||
/// Matches the toplevel-tag of the window with a regular expression.
|
||||
TagRegex(&'a str),
|
||||
/// Matches the X class of the window verbatim.
|
||||
XClass(&'a str),
|
||||
/// Matches the X class of the window with a regular expression.
|
||||
XClassRegex(&'a str),
|
||||
/// Matches the X instance of the window verbatim.
|
||||
XInstance(&'a str),
|
||||
/// Matches the X instance of the window with a regular expression.
|
||||
XInstanceRegex(&'a str),
|
||||
}
|
||||
|
||||
impl WindowCriterion<'_> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue