config: add toplevel-tag window criteria
This commit is contained in:
parent
5f1268cada
commit
6d3d4dcabb
15 changed files with 106 additions and 8 deletions
|
|
@ -260,6 +260,10 @@ pub enum WindowCriterion<'a> {
|
|||
/// This is true for one iteration of the compositor's main loop immediately after the
|
||||
/// window has been mapped.
|
||||
JustMapped,
|
||||
/// Matches the toplevel-tag of the window verbatim.
|
||||
Tag(&'a str),
|
||||
/// Matches the toplevel-tag of the window with a regular expression.
|
||||
TagRegex(&'a str),
|
||||
}
|
||||
|
||||
impl WindowCriterion<'_> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue