1
0
Fork 0
forked from wry/wry

config: add app-id window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:27:42 +02:00
parent 6ef7655dbd
commit da64166e82
13 changed files with 102 additions and 24 deletions

View file

@ -240,6 +240,10 @@ pub enum WindowCriterion<'a> {
Title(&'a str),
/// Matches the title of the window with a regular expression.
TitleRegex(&'a str),
/// Matches the app-id of the window verbatim.
AppId(&'a str),
/// Matches the app-id of the window with a regular expression.
AppIdRegex(&'a str),
}
impl WindowCriterion<'_> {